GNOME Bugzilla – Bug 690216
Epiphany crashes if the "window-close-symbolic" icon is not found
Last modified: 2012-12-14 20:27:38 UTC
This icon is loaded by EphyRemovablePixbufRenderer and is assumed to exist. If it doesn't, ephy_removable_pixbuf_renderer_render() crashes in gtk_render_icon().
Created attachment 231583 [details] [review] Patch
Review of attachment 231583 [details] [review]: ::: lib/widgets/ephy-removable-pixbuf-renderer.c @@ +231,3 @@ + if (!self->priv->close_icon) + { + g_warning ("window-close-symbolic icon not found"); Maybe you should add a GError to the gtk_icon_theme_load_icon() call and print that message instead?
Created attachment 231589 [details] [review] Patch v2 (In reply to comment #2) > Maybe you should add a GError to the gtk_icon_theme_load_icon() call > and print that message instead? You're good.
Review of attachment 231589 [details] [review]: Please commit after fixing the style. ::: lib/widgets/ephy-removable-pixbuf-renderer.c @@ +231,3 @@ + + if (error != NULL) + { Braces don't go in a new line; check HACKING :)
Fixed and pushed: http://git.gnome.org/browse/epiphany/commit/?id=05eab03df512dc093183e36dd408a5ab173ec4b8