1
0
Fork 0

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
This commit is contained in:
Owen W. Taylor 2015-09-29 15:33:29 -04:00
parent 4c9443bbd7
commit 2ddec579d6

View file

@ -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;
}