eog/0001-EogScrollView-Prevent-a-crash-when-queueing-a-new-dr.patch

28 lines
796 B
Diff

From 8169e0ac6447ebeb1d1e809213ce82b814b62550 Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 7 Apr 2016 20:13:16 +0200
Subject: [PATCH] EogScrollView: Prevent a crash when queueing a new draw
Fall out from 88c4f54eb9cee69b1eebef462df27f76119bec62
https://bugzilla.gnome.org/show_bug.cgi?id=665897
---
src/eog-scroll-view.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 4539498fb57f..f85d9d22cd69 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -1260,6 +1260,7 @@ static gboolean _hq_redraw_cb (gpointer user_data)
priv->force_unfiltered = FALSE;
gtk_widget_queue_draw (GTK_WIDGET (priv->display));
+ priv->hq_redraw_timeout_source = NULL;
return G_SOURCE_REMOVE;
}
--
2.5.0