aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/shortcut-bar/e-icon-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/shortcut-bar/e-icon-bar.c b/widgets/shortcut-bar/e-icon-bar.c
index fe095acc06..dd93d54088 100644
--- a/widgets/shortcut-bar/e-icon-bar.c
+++ b/widgets/shortcut-bar/e-icon-bar.c
@@ -525,7 +525,7 @@ e_icon_bar_set_view_type (EIconBar *icon_bar,
static GdkPixbuf *
flatten_alpha (GdkPixbuf *image, guint rgb)
{
- if (!image->art_pixbuf->has_alpha)
+ if (!image || !image->art_pixbuf->has_alpha)
return NULL;
return gdk_pixbuf_composite_color_simple (