aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fastiv-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastiv-view.c b/fastiv-view.c
index bd00f82..3f5ae73 100644
--- a/fastiv-view.c
+++ b/fastiv-view.c
@@ -504,7 +504,7 @@ start_animating(FastivView *self)
stop_animating(self);
GdkFrameClock *clock = gtk_widget_get_frame_clock(GTK_WIDGET(self));
- if (!clock ||
+ if (!clock || !self->image ||
!cairo_surface_get_user_data(self->page, &fastiv_io_key_frame_next))
return;