From fa0b33ec30a0e95e6dc0731abe698e16135b19db Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 4 Jun 2009 11:59:17 +0100 Subject: [PATCH] [clutter-stage-win32] Call clutter_actor_map instead of setting the flags The clutter_actor_map and unmap functions need to be called to properly update the mapped state. This matches the changes to the X11 stage in 125bded8. --- clutter/win32/clutter-stage-win32.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clutter/win32/clutter-stage-win32.c b/clutter/win32/clutter-stage-win32.c index f49549416..f83c3c873 100644 --- a/clutter/win32/clutter-stage-win32.c +++ b/clutter/win32/clutter-stage-win32.c @@ -780,8 +780,8 @@ clutter_win32_set_stage_foreign (ClutterStage *stage, void clutter_stage_win32_map (ClutterStageWin32 *stage_win32) { - CLUTTER_ACTOR_SET_FLAGS (stage_win32, CLUTTER_ACTOR_MAPPED); - CLUTTER_ACTOR_SET_FLAGS (stage_win32->wrapper, CLUTTER_ACTOR_MAPPED); + clutter_actor_map (CLUTTER_ACTOR (stage_win32)); + clutter_actor_map (CLUTTER_ACTOR (stage_win32->wrapper)); clutter_actor_queue_relayout (CLUTTER_ACTOR (stage_win32->wrapper)); } @@ -789,6 +789,6 @@ clutter_stage_win32_map (ClutterStageWin32 *stage_win32) void clutter_stage_win32_unmap (ClutterStageWin32 *stage_win32) { - CLUTTER_ACTOR_UNSET_FLAGS (stage_win32, CLUTTER_ACTOR_MAPPED); - CLUTTER_ACTOR_UNSET_FLAGS (stage_win32->wrapper, CLUTTER_ACTOR_MAPPED); + clutter_actor_unmap (CLUTTER_ACTOR (stage_win32)); + clutter_actor_unmap (CLUTTER_ACTOR (stage_win32->wrapper)); }