From f7468e0d26b63704959049c6356b2779629ce495 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 23 Jan 2002 17:57:32 +0000 Subject: [Patch by Michael Meeks .] * e-splash.c (e_splash_set_icon_highlight): g_return if there is no num-th icon. svn path=/trunk/; revision=15433 --- shell/ChangeLog | 7 +++++++ shell/e-splash.c | 1 + 2 files changed, 8 insertions(+) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 7e458f35fc..6bacbf5c27 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2002-01-23 Ettore Perazzoli + + [Patch by Michael Meeks .] + + * e-splash.c (e_splash_set_icon_highlight): g_return if there is + no num-th icon. + 2002-01-15 Iain Holmes * e-shell-importer.c (show_import_wizard): Set the importer druid 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, -- cgit