[libchamplain] Remove some unnecessary queue_redraw()s



commit c6c2c254c8ee8a146f871781bc7cffc389205aa6
Author: JiÅ?í Techet <techet gmail com>
Date:   Sat Feb 26 01:40:19 2011 +0100

    Remove some unnecessary queue_redraw()s

 champlain/champlain-custom-marker.c |    3 ---
 champlain/champlain-label.c         |    2 --
 champlain/champlain-path-layer.c    |    1 -
 champlain/champlain-scale.c         |    1 -
 4 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/champlain/champlain-custom-marker.c b/champlain/champlain-custom-marker.c
index 3dd3999..77b2919 100644
--- a/champlain/champlain-custom-marker.c
+++ b/champlain/champlain-custom-marker.c
@@ -106,7 +106,6 @@ raise_actor (ClutterContainer *container,
   ChamplainCustomMarkerPrivate *priv = GET_PRIVATE (container);
   
   clutter_container_raise_child (priv->content_group, actor, sibling);  
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
 }
 
 static void
@@ -117,7 +116,6 @@ lower_actor (ClutterContainer *container,
   ChamplainCustomMarkerPrivate *priv = GET_PRIVATE (container);
   
   clutter_container_lower_child (priv->content_group, actor, sibling);  
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
 }
 
 static void
@@ -126,7 +124,6 @@ sort_depth_order (ClutterContainer *container)
   ChamplainCustomMarkerPrivate *priv = GET_PRIVATE (container);
   
   clutter_container_sort_depth_order (priv->content_group);  
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
 }
 
 static void
diff --git a/champlain/champlain-label.c b/champlain/champlain-label.c
index d822c1e..02620da 100644
--- a/champlain/champlain-label.c
+++ b/champlain/champlain-label.c
@@ -758,8 +758,6 @@ draw_label (ChamplainLabel *label)
     clutter_actor_set_anchor_point (CLUTTER_ACTOR (label),
         0,
         clutter_actor_get_height (priv->text_actor) / 2.0);
-
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (label));
 }
 
 
diff --git a/champlain/champlain-path-layer.c b/champlain/champlain-path-layer.c
index e73e878..17baf00 100644
--- a/champlain/champlain-path-layer.c
+++ b/champlain/champlain-path-layer.c
@@ -736,7 +736,6 @@ redraw_path (ChamplainPathLayer *layer)
   cairo_destroy (cr);
 
   priv->redraw_scheduled = FALSE;
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (layer));
   
   return FALSE;
 }
diff --git a/champlain/champlain-scale.c b/champlain/champlain-scale.c
index 5f8c6b3..95696a9 100644
--- a/champlain/champlain-scale.c
+++ b/champlain/champlain-scale.c
@@ -368,7 +368,6 @@ redraw_scale (ChamplainScale *scale)
   cairo_destroy (cr);
 
   priv->redraw_scheduled = FALSE;
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (scale));
 }
 
 



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