diff options
Diffstat (limited to 'e-util/e-gui-utils.c')
-rw-r--r-- | e-util/e-gui-utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/e-util/e-gui-utils.c b/e-util/e-gui-utils.c index fc8e5921b2..9f80610063 100644 --- a/e-util/e-gui-utils.c +++ b/e-util/e-gui-utils.c @@ -163,7 +163,10 @@ e_icon_for_mime_type (const char *mime_type, int size_hint) } } #endif - + + if (icon_path == NULL) + return NULL; + pixbuf = gdk_pixbuf_new_from_file (icon_path, NULL); g_free (icon_path); return pixbuf; |