aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-splash.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-01-24 01:57:32 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-01-24 01:57:32 +0800
commitf7468e0d26b63704959049c6356b2779629ce495 (patch)
treea628a7cffd80510e9a45a9baaf3cc52316c4d8b8 /shell/e-splash.c
parent64c727d0b42806dc81eb11b6bd758b60c77da4f6 (diff)
downloadgsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.tar
gsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.tar.gz
gsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.tar.bz2
gsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.tar.lz
gsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.tar.xz
gsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.tar.zst
gsoc2013-evolution-f7468e0d26b63704959049c6356b2779629ce495.zip
[Patch by Michael Meeks <michael@ximian.com>.]
* e-splash.c (e_splash_set_icon_highlight): g_return if there is no num-th icon. svn path=/trunk/; revision=15433
Diffstat (limited to 'shell/e-splash.c')
-rw-r--r--shell/e-splash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/e-splash.c b/shell/e-splash.c
index 41f1e1e8a7..f72ea77b12 100644
--- a/shell/e-splash.c
+++ b/shell/e-splash.c
@@ -417,6 +417,7 @@ e_splash_set_icon_highlight (ESplash *splash,
priv = splash->priv;
icon = (Icon *) g_list_nth_data (priv->icons, num);
+ g_return_if_fail (icon != NULL);
gtk_object_set (GTK_OBJECT (icon->canvas_item),
"pixbuf", highlight ? icon->light_pixbuf : icon->dark_pixbuf,