diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-01-30 10:52:09 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-01-30 10:53:43 +0100 |
commit | 27799ba4f5a15cd3a63be371f94688a4c89bfd9f (patch) | |
tree | 979410bd9ae836296590c921bcaa7e7d6b4e87fc /gtk/gtkiconhelper.c | |
parent | 2ec51b7010fb1fe7d220e8214567aff015db7a36 (diff) | |
download | gtk+-27799ba4f5a15cd3a63be371f94688a4c89bfd9f.tar.gz |
Remove final references to "icon info" with just "icon"
Diffstat (limited to 'gtk/gtkiconhelper.c')
-rw-r--r-- | gtk/gtkiconhelper.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index 47b5b675b0..4091722cc4 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -102,7 +102,7 @@ ensure_paintable_for_gicon (GtkIconHelper *self, { GtkIconTheme *icon_theme; gint width, height; - GtkIcon *info; + GtkIcon *icon; GtkIconLookupFlags flags; icon_theme = gtk_css_icon_theme_value_get_icon_theme (style->core->icon_theme); @@ -110,18 +110,18 @@ ensure_paintable_for_gicon (GtkIconHelper *self, width = height = gtk_icon_helper_get_size (self); - info = gtk_icon_theme_lookup_by_gicon (icon_theme, + icon = gtk_icon_theme_lookup_by_gicon (icon_theme, gicon, MIN (width, height), scale, flags); - if (info == NULL) - info = gtk_icon_theme_lookup_icon (icon_theme, + if (icon == NULL) + icon = gtk_icon_theme_lookup_icon (icon_theme, "image-missing", width, scale, flags | GTK_ICON_LOOKUP_USE_BUILTIN | GTK_ICON_LOOKUP_GENERIC_FALLBACK); - *symbolic = gtk_icon_is_symbolic (info); - return GDK_PAINTABLE (info); + *symbolic = gtk_icon_is_symbolic (icon); + return GDK_PAINTABLE (icon); } static GdkPaintable * |