diff options
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 91da927da3..cd65388649 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -2160,7 +2160,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder, if (pixbuf == NULL) { GtkIconTheme *theme; - GtkIcon *icon; + GtkIconPaintable *icon; GdkTexture *texture; g_warning ("Could not load image '%s': %s", @@ -2174,7 +2174,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder, icon = gtk_icon_theme_lookup_icon (theme, "image-missing", NULL, 16, 1, GTK_TEXT_DIR_NONE, 0); - texture = gtk_icon_download_texture (icon, NULL); + texture = gtk_icon_paintable_download_texture (icon, NULL); pixbuf = gdk_pixbuf_get_from_texture (texture); g_object_unref (icon); g_object_unref (texture); |