Remove autoreleasepool in drawRect, not necessary

This commit is contained in:
Richard Hult 2009-01-20 14:07:02 +01:00 committed by Alexander Larsson
parent f12a992be2
commit 7ab3435a58

View File

@ -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