[gtk+/client-side-windows: 153/284] Remove autoreleasepool in drawRect, not necessary



commit 7ab3435a5838291d25703292dcf882ac0406c6c1
Author: Richard Hult <richard imendio com>
Date:   Tue Jan 20 14:07:02 2009 +0100

    Remove autoreleasepool in drawRect, not necessary
---
 gdk/quartz/GdkQuartzView.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c
index 35209e3..619f0f6 100644
--- a/gdk/quartz/GdkQuartzView.c
+++ b/gdk/quartz/GdkQuartzView.c
@@ -67,8 +67,6 @@
   if (NSEqualRects (rect, NSZeroRect))
     return;
 
-  GDK_QUARTZ_ALLOC_POOL;
-
   [self getRectsBeingDrawn:&drawn_rects count:&count];
 
   region = gdk_region_new ();
@@ -115,8 +113,6 @@
       [[self window] invalidateShadow];
       needsInvalidateShadow = NO;
     }
-
-  GDK_QUARTZ_RELEASE_POOL;
 }
 
 -(void)setNeedsInvalidateShadow:(BOOL)invalidate



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