diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/widgets/ephy-spinner.c | 6 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-05-31 Lee Willis <lwillis@plus.net> + + * lib/widgets/ephy-spinner.c: + + Don't crash if we can't find the spinner image + 2003-05-30 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c index 51bba77be..0cd867db7 100644 --- a/lib/widgets/ephy-spinner.c +++ b/lib/widgets/ephy-spinner.c @@ -226,7 +226,11 @@ select_spinner_image (EphySpinner *spinner) GList *element; if (spinner->details->timer_task == 0) { - return g_object_ref (spinner->details->quiescent_pixbuf); + if (spinner->details->quiescent_pixbuf) { + return g_object_ref (spinner->details->quiescent_pixbuf); + } else { + return NULL; + } } if (spinner->details->image_list == NULL) { |