[clutter] clutter_actor_update_map_state: Remove a useless warning



commit 2ddec579d6f34395e8fd20a0efdbe8983b35148c
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Sep 29 15:33:29 2015 -0400

    clutter_actor_update_map_state: Remove a useless warning
    
    A check for priv->parent == NULL was inside the else of a check
    for (priv->parent == NULL).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745517

 clutter/clutter-actor.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index d218b85..fb9f5c6 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -1424,10 +1424,6 @@ clutter_actor_update_map_state (ClutterActor  *self,
            */
           if (priv->enable_paint_unmapped)
             {
-              if (priv->parent == NULL)
-                g_warning ("Attempting to map an unparented actor '%s'",
-                           _clutter_actor_get_debug_name (self));
-
               should_be_mapped = TRUE;
               must_be_realized = TRUE;
             }


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