[clutter/clutter-1.6] osx: Do not unrealize on hide



commit fb903132251eeb40cc416fb83d55c8404dc6a7c7
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Sat Apr 2 22:36:38 2011 +0100

    osx: Do not unrealize on hide
    
    Calling unrealize on ClutterStage::hide will cause an assertion
    failure and other badness when we destroy the stage.
    (cherry picked from commit 28c0a4d6be52519a67b268c3e1de5f1aaca0f2e4)
    
    Signed-off-by: Emmanuele Bassi <ebassi linux intel com>

 clutter/osx/clutter-stage-osx.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/clutter/osx/clutter-stage-osx.c b/clutter/osx/clutter-stage-osx.c
index b5d78da..8576f6b 100644
--- a/clutter/osx/clutter-stage-osx.c
+++ b/clutter/osx/clutter-stage-osx.c
@@ -391,7 +391,6 @@ clutter_stage_osx_hide (ClutterStageWindow *stage_window)
 
   [self->window orderOut: nil];
 
-  clutter_stage_osx_unrealize (stage_window);
   clutter_actor_unmap (CLUTTER_ACTOR (self->wrapper));
 
   CLUTTER_OSX_POOL_RELEASE();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]