Use the right icon-name for missing images

Patch by Erik van Pienbroek, bug 629878.
This commit is contained in:
Matthias Clasen 2012-01-05 14:05:47 -05:00
parent ff016a7857
commit f7fb2fbebd

View File

@ -1664,9 +1664,10 @@ render_fallback_image (GtkStyleContext *context,
_gtk_icon_theme_ensure_builtin_cache ();
index = _gtk_icon_cache_get_directory_index (_builtin_cache, "24");
pixbuf = _gtk_icon_cache_get_icon (_builtin_cache,
GTK_STOCK_MISSING_IMAGE,
index);
pixbuf = _gtk_icon_cache_get_icon (_builtin_cache, "image-missing", index);
g_return_val_if_fail(pixbuf != NULL, NULL);
gtk_icon_source_set_pixbuf (&fallback_source, pixbuf);
g_object_unref (pixbuf);
}