From cba23c0b265a5a1215fba678c45f1b4bfd0db9c1 Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Thu, 5 Jun 2008 21:27:28 +0000 Subject: [PATCH] OSX: add missing memory pool wrapup Bug #910 - OSX: missing memory pool * clutter/osx/clutter-backend-osx.c (clutter_backend_osx_redraw): Add missing memory pool wrapup. --- ChangeLog | 7 +++++++ clutter/osx/clutter-backend-osx.c | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 163e88a76..548392710 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-05 Tommi Komulainen + + Bug #910 - OSX: missing memory pool + + * clutter/osx/clutter-backend-osx.c (clutter_backend_osx_redraw): + Add missing memory pool wrapup. + 2008-06-05 Tommi Komulainen Bug #909 - OSX: missing NULL pointer handling diff --git a/clutter/osx/clutter-backend-osx.c b/clutter/osx/clutter-backend-osx.c index 0efe58f44..cc5554c46 100644 --- a/clutter/osx/clutter-backend-osx.c +++ b/clutter/osx/clutter-backend-osx.c @@ -129,7 +129,12 @@ clutter_backend_osx_redraw (ClutterBackend *backend) ClutterStageOSX *stage_osx; stage_osx = CLUTTER_STAGE_OSX (self->stage); + + CLUTTER_OSX_POOL_ALLOC(); + [stage_osx->view setNeedsDisplay: YES]; + + CLUTTER_OSX_POOL_RELEASE(); } /*************************************************************************/