gtk+ r19149 - in trunk: . gdk/quartz



Author: rhult
Date: 2007-12-10 20:22:08 +0000 (Mon, 10 Dec 2007)
New Revision: 19149
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=19149&view=rev

Modified:
   trunk/ChangeLog
   trunk/gdk/quartz/gdkdrawable-quartz.c
   trunk/gdk/quartz/gdkeventloop-quartz.c
   trunk/gdk/quartz/gdkwindow-quartz.h
Log:
2007-12-10  Richard Hult  <richard imendio com>

	* gdk/quartz/gdkdrawable-quartz.c:
	(gdk_quartz_drawable_get_context),
	(gdk_quartz_drawable_release_context):
	* gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
	(gdk_event_check), (gdk_event_dispatch), (poll_func):
	* gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
	used for each drawing context and in prepare, dispatch and poll
	with one that exists across each main loop iteration. Fixes leaks
	on leopard and protects against future leaks introduce when the
	underlying system changes again (bug #492977).





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