[libchamplain] view: Fix check in dispose



commit bc4e89dc05fd1cdd01cf84c0f89eac628b954407
Author: Jiří Techet <techet gmail com>
Date:   Sat Nov 28 10:52:11 2015 +0100

    view: Fix check in dispose

 champlain/champlain-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 7e9718f..8d0bcb1 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -676,7 +676,7 @@ champlain_view_dispose (GObject *object)
       priv->redraw_timeout = 0;
     }
     
-  if (priv->redraw_timeout != 0)
+  if (priv->zoom_actor_timeout != 0)
     {
       g_source_remove (priv->zoom_actor_timeout);
       priv->zoom_actor_timeout = 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]