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:
parent
4c9443bbd7
commit
2ddec579d6
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue