[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
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
2002-01-23 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
[Patch by Michael Meeks <michael@ximian.com>.]
|
||||
|
||||
* e-splash.c (e_splash_set_icon_highlight): g_return if there is
|
||||
no num-th icon.
|
||||
|
||||
2002-01-15 Iain Holmes <iain@ximian.com>
|
||||
|
||||
* e-shell-importer.c (show_import_wizard): Set the importer druid
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user