mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Setup autorelease pool, plugs occasional leak on leopard.
2007-10-31 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_impl_quartz_process_updates): Setup autorelease pool, plugs occasional leak on leopard. svn path=/trunk/; revision=18954
This commit is contained in:
parent
89230024e6
commit
75aabd416d
@ -1,3 +1,9 @@
|
||||
2007-10-31 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkwindow-quartz.c:
|
||||
(gdk_window_impl_quartz_process_updates): Setup autorelease pool,
|
||||
plugs occasional leak on leopard.
|
||||
|
||||
2007-10-31 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/GdkQuartzView.c: Fix build warning (trackingRect should be
|
||||
|
@ -369,8 +369,10 @@ gdk_window_impl_quartz_process_updates (GdkPaintable *paintable,
|
||||
|
||||
if (private->update_area)
|
||||
{
|
||||
GDK_QUARTZ_ALLOC_POOL;
|
||||
gdk_window_quartz_process_updates_internal ((GdkWindow *) private);
|
||||
update_windows = g_slist_remove (update_windows, private);
|
||||
GDK_QUARTZ_RELEASE_POOL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user