diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-01-28 15:43:51 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-01-30 10:53:43 +0100 |
commit | e2f778602b027572775ba58823b27509f7b3a589 (patch) | |
tree | c92eec6b66f0597be726106ac25bad9a9bb39312 /gtk/gtkbuilder.c | |
parent | 6a15e9169d018a18fdaa481287d5facfd2b142f1 (diff) | |
download | gtk+-e2f778602b027572775ba58823b27509f7b3a589.tar.gz |
icon-theme: Rename GtkIconInfo to GtkIcon
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 7e962e0b31..77174404c4 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -2157,7 +2157,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder, if (pixbuf == NULL) { GtkIconTheme *theme; - GtkIconInfo *icon; + GtkIcon *icon; GdkTexture *texture; g_warning ("Could not load image '%s': %s", @@ -2169,7 +2169,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder, icon = gtk_icon_theme_lookup_icon (theme, "image-missing", 16, GTK_ICON_LOOKUP_USE_BUILTIN); - texture = gtk_icon_info_download_texture (icon, NULL); + texture = gtk_icon_download_texture (icon, NULL); pixbuf = gdk_pixbuf_get_from_texture (texture); g_object_unref (icon); g_object_unref (texture); |