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/gtkcssimageicontheme.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/gtkcssimageicontheme.c')
-rw-r--r-- | gtk/gtkcssimageicontheme.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/gtkcssimageicontheme.c b/gtk/gtkcssimageicontheme.c index 4a3ea9ce1b..c886e2447c 100644 --- a/gtk/gtkcssimageicontheme.c +++ b/gtk/gtkcssimageicontheme.c @@ -68,13 +68,6 @@ gtk_css_image_icon_theme_snapshot (GtkCssImage *image, icon_theme->scale, GTK_TEXT_DIR_NONE, 0); - if (icon == NULL) - icon = gtk_icon_theme_lookup_icon (icon_theme->icon_theme, - "image-missing", - NULL, - size, icon_theme->scale, - GTK_TEXT_DIR_NONE, - 0); g_assert (icon != NULL); |