[libchamplain] Remove depth checks from ChamplainGroup



commit 4c58c9d8f50e482c6b80a859377209f9cd61f18e
Author: JiÅ?í Techet <techet gmail com>
Date:   Sat Feb 12 16:06:42 2011 +0100

    Remove depth checks from ChamplainGroup

 champlain/champlain-group.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/champlain/champlain-group.c b/champlain/champlain-group.c
index 3bdabd0..189dbf9 100644
--- a/champlain/champlain-group.c
+++ b/champlain/champlain-group.c
@@ -166,7 +166,7 @@ champlain_group_real_raise (ClutterContainer *container,
       last_item = g_list_last (priv->children);
 
       if (last_item)
-	sibling = last_item->data;
+        sibling = last_item->data;
 
       priv->children = g_list_append (priv->children, actor);
     }
@@ -183,11 +183,11 @@ champlain_group_real_raise (ClutterContainer *container,
    *
    * FIXME: optimise
    */
-  if (sibling &&
+/*  if (sibling &&
       clutter_actor_get_depth (sibling) != clutter_actor_get_depth (actor))
     {
       clutter_actor_set_depth (actor, clutter_actor_get_depth (sibling));
-    }
+    }*/
 
   clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
 }
@@ -210,7 +210,7 @@ champlain_group_real_lower (ClutterContainer *container,
       last_item = g_list_first (priv->children);
 
       if (last_item)
-	sibling = last_item->data;
+        sibling = last_item->data;
 
       priv->children = g_list_prepend (priv->children, actor);
     }
@@ -222,11 +222,11 @@ champlain_group_real_lower (ClutterContainer *container,
     }
 
   /* See comment in group_raise for this */
-  if (sibling &&
+/*  if (sibling &&
       clutter_actor_get_depth (sibling) != clutter_actor_get_depth (actor))
     {
       clutter_actor_set_depth (actor, clutter_actor_get_depth (sibling));
-    }
+    }*/
 
   clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
 }
@@ -238,7 +238,7 @@ champlain_group_real_sort_depth_order (ClutterContainer *container)
 
 //  priv->children = g_list_sort (priv->children, sort_by_depth);
 
-//  clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
+  clutter_actor_queue_redraw (CLUTTER_ACTOR (container));
 }
 
 static void



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