diff options
author | Seth Alves <alves@src.gnome.org> | 2000-03-28 22:14:56 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-03-28 22:14:56 +0800 |
commit | 7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f (patch) | |
tree | 04573327c392cfd8cf54d08a1a1b9565b6cab1f5 | |
parent | 8f6adf987eabf47bbe8266f6a0f29de1e7ce2e68 (diff) | |
download | gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.tar gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.tar.gz gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.tar.bz2 gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.tar.lz gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.tar.xz gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.tar.zst gsoc2013-evolution-7a72e3adc72b42fc4fbe5539a920c4b7c46c8a8f.zip |
avoid a crash if icons aren't found
svn path=/trunk/; revision=2212
-rw-r--r-- | widgets/shortcut-bar/e-icon-bar.c | 2 |
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 ( |