diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index adffafaba..850c0d697 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -34,8 +34,6 @@ #define CACHE_PREFIX_FILE "file:" #define CACHE_PREFIX_FILE_FOR_CAIRO "file-for-cairo:" -#define IMAGE_MISSING_ICON_NAME "image-missing" - struct _StTextureCachePrivate { GtkIconTheme *icon_theme; @@ -996,15 +994,7 @@ st_texture_cache_load_gicon (StTextureCache *cache, size, scale, lookup_flags); if (info == NULL) - { - /* Do not give up without even trying to pick the image-missing fallback icon. */ - info = gtk_icon_theme_lookup_icon_for_scale (theme, - IMAGE_MISSING_ICON_NAME, - size, scale, - GTK_ICON_LOOKUP_USE_BUILTIN); - if (info == NULL) - return NULL; - } + return NULL; gicon_string = g_icon_to_string (icon); /* A return value of NULL indicates that the icon can not be serialized,