shell: Don't crash when loading the icon fails
https://bugzilla.gnome.org/show_bug.cgi?id=660513
This commit is contained in:
parent
b1c1f4b2a5
commit
e1dbaef587
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ load_pixbuf_for_gicon (GIcon *icon)
|
|||
{
|
||||
GtkIconTheme *theme;
|
||||
GtkIconInfo *icon_info;
|
||||
GdkPixbuf *pixbuf;
|
||||
GdkPixbuf *pixbuf = NULL;
|
||||
GError *err = NULL;
|
||||
|
||||
if (icon == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue