mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
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
@ -1424,10 +1424,6 @@ clutter_actor_update_map_state (ClutterActor *self,
|
|||||||
*/
|
*/
|
||||||
if (priv->enable_paint_unmapped)
|
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;
|
should_be_mapped = TRUE;
|
||||||
must_be_realized = TRUE;
|
must_be_realized = TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user