Commit 4c718acc authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Adjust to icon cache api change. (#506135, Kazuki Iwamoto)

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
        icon cache api change.  (#506135, Kazuki Iwamoto)



svn path=/trunk/; revision=19289
parent e43ed2fe
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconfactory.c (render_fallback_image): Adjust to
icon cache api change. (#506135, Kazuki Iwamoto)
2007-12-28 Mathias Hasselmann <mathias@openismus.com>
Remove max_detail_height field from GtkCalendarPrivate. (#339540)
......
......@@ -1570,13 +1570,15 @@ render_fallback_image (GtkStyle *style,
if (fallback_source.type == GTK_ICON_SOURCE_EMPTY)
{
gint index;
GdkPixbuf *pixbuf;
_gtk_icon_theme_ensure_builtin_cache ();
index = _gtk_icon_cache_get_directory_index (_builtin_cache, "24");
pixbuf = _gtk_icon_cache_get_icon (_builtin_cache,
GTK_STOCK_MISSING_IMAGE,
"24");
index);
gtk_icon_source_set_pixbuf (&fallback_source, pixbuf);
g_object_unref (pixbuf);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment