[win32] Remove the call to clutter_redraw in clutter_stage_win32_show

Since commit 7b811f8b this is done in clutter_stage_show so there is
no need for it in the backends.
This commit is contained in:
Neil Roberts 2009-07-28 12:03:55 +01:00
parent df586eb507
commit f4ad3761c4

View File

@ -59,16 +59,8 @@ clutter_stage_win32_show (ClutterActor *actor)
ClutterStageWin32 *stage_win32 = CLUTTER_STAGE_WIN32 (actor); ClutterStageWin32 *stage_win32 = CLUTTER_STAGE_WIN32 (actor);
if (stage_win32->hwnd) if (stage_win32->hwnd)
{
/* Force a redraw so that the layout will be run and the correct
size will be allocated to the window before it is
shown. Otherwise a WM_SIZE message will be sent which will
override the user's chosen size */
clutter_redraw (stage_win32->wrapper);
ShowWindow (stage_win32->hwnd, SW_SHOW); ShowWindow (stage_win32->hwnd, SW_SHOW);
} }
}
static void static void
clutter_stage_win32_hide (ClutterActor *actor) clutter_stage_win32_hide (ClutterActor *actor)