Remove unnecessary setting of CLUTTER_ACTOR_REALIZED flag
An implementaton of realize() never needs to set the CLUTTER_ACTOR_REALIZED flag, though it can unset the flag if things fail unexpectedly. (Previously, stage backend implementations had to do this since clutter_actor_realize() wasn't used; this is no longer the case.) http://bugzilla.openedhand.com/show_bug.cgi?id=1634 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:

committed by
Emmanuele Bassi

parent
2b7e98f4b3
commit
d28c9e5db1
@ -89,8 +89,6 @@ clutter_stage_sdl_realize (ClutterActor *actor)
|
||||
CLUTTER_ACTOR_UNSET_FLAGS (actor, CLUTTER_ACTOR_REALIZED);
|
||||
return;
|
||||
}
|
||||
else
|
||||
CLUTTER_ACTOR_SET_FLAGS (actor, CLUTTER_ACTOR_REALIZED);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user