diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-02-06 09:50:04 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-02-06 09:50:04 +0100 |
commit | 68657440340784dbd97e9064127474e0c9f2c3a6 (patch) | |
tree | 83b8356c14ede05069c6cfd148da6455646dc91c /gtk/gtkiconhelper.c | |
parent | de02769a2f6ca86b39e23b6a75b2acc731846c04 (diff) | |
download | gtk+-68657440340784dbd97e9064127474e0c9f2c3a6.tar.gz |
Remove unnecessary image-missing fallbacks
We now always return something from icon theme lookups, so no need to
do custom fallbacks.
Diffstat (limited to 'gtk/gtkiconhelper.c')
-rw-r--r-- | gtk/gtkiconhelper.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index eb6f715527..82ea7add2e 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -105,13 +105,6 @@ ensure_paintable_for_gicon (GtkIconHelper *self, MIN (width, height), dir, scale, flags); - if (icon == NULL) - icon = gtk_icon_theme_lookup_icon (icon_theme, - "image-missing", - NULL, - width, scale, - dir, - flags); *symbolic = gtk_icon_paintable_is_symbolic (icon); return GDK_PAINTABLE (icon); |