[libchamplain] path-layer: Stop invalidate_canvas idle callback



commit 815c47ce50922e4a95d6073cd97e88b040aa4408
Author: Damián Nohales <damiannohales gmail com>
Date:   Wed Aug 6 17:17:44 2014 -0300

    path-layer: Stop invalidate_canvas idle callback
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734380

 champlain/champlain-path-layer.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-path-layer.c b/champlain/champlain-path-layer.c
index 50d9ce2..6b53727 100644
--- a/champlain/champlain-path-layer.c
+++ b/champlain/champlain-path-layer.c
@@ -405,7 +405,7 @@ champlain_path_layer_new ()
 }
 
 
-static void
+static gboolean
 invalidate_canvas (ChamplainPathLayer *layer)
 {
   ChamplainPathLayerPrivate *priv = layer->priv;
@@ -420,6 +420,8 @@ invalidate_canvas (ChamplainPathLayer *layer)
   clutter_actor_set_size (priv->path_actor, width, height);
   clutter_content_invalidate (priv->canvas);
   priv->redraw_scheduled = FALSE;
+
+  return FALSE;
 }
 
 


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