aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/widgets/ephy-spinner.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06dd7e46d..75df371bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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) {