gtk+ r20056 - in trunk: . gdk/quartz
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20056 - in trunk: . gdk/quartz
- Date: Wed, 30 Apr 2008 18:50:14 +0100 (BST)
Author: rhult
Date: Wed Apr 30 17:50:14 2008
New Revision: 20056
URL: http://svn.gnome.org/viewvc/gtk+?rev=20056&view=rev
Log:
2008-04-30 Richard Hult <richard imendio com>
* gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
area.
Modified:
trunk/ChangeLog
trunk/gdk/quartz/GdkQuartzView.c
Modified: trunk/gdk/quartz/GdkQuartzView.c
==============================================================================
--- trunk/gdk/quartz/GdkQuartzView.c (original)
+++ trunk/gdk/quartz/GdkQuartzView.c Wed Apr 30 17:50:14 2008
@@ -64,14 +64,8 @@
if (!(private->event_mask & GDK_EXPOSURE_MASK))
return;
- /* For some reason, we occasionally get draw requests for zero sized rects
- * at 0,0, just ignore those.
- */
- if (rect.origin.x == 0 && rect.origin.y == 0 &&
- rect.size.width == 0 && rect.size.height == 0)
- {
- return;
- }
+ if (NSEqualRects (rect, NSZeroRect))
+ return;
GDK_QUARTZ_ALLOC_POOL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]