Commit faed5298 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Release the pool in all cases. (move_resize_window_internal): Surround by

2006-07-09  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
	in all cases.
	(move_resize_window_internal): Surround by alloc/release pool.
	Patch from Brian Tarricone, fixes bug #347018.
parent a6497203
2006-07-09 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
in all cases.
(move_resize_window_internal): Surround by alloc/release pool.
Patch from Brian Tarricone, fixes bug #347018.
2006-07-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_label_and_image): Don't
......
2006-07-09 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
in all cases.
(move_resize_window_internal): Surround by alloc/release pool.
Patch from Brian Tarricone, fixes bug #347018.
2006-07-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_label_and_image): Don't
......
......@@ -370,6 +370,7 @@ gdk_window_new (GdkWindow *parent,
break;
default:
g_warning (G_STRLOC "cannot make windows of type %d", private->window_type);
GDK_QUARTZ_RELEASE_POOL;
return NULL;
}
......@@ -659,8 +660,13 @@ move_resize_window_internal (GdkWindow *window,
GdkWindowObject *private = (GdkWindowObject *)window;
GdkWindowImplQuartz *impl;
GDK_QUARTZ_ALLOC_POOL;
if (GDK_WINDOW_DESTROYED (window))
return;
{
GDK_QUARTZ_RELEASE_POOL;
return;
}
impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
......@@ -698,6 +704,8 @@ move_resize_window_internal (GdkWindow *window,
[impl->view setNeedsDisplay:YES];
}
}
GDK_QUARTZ_RELEASE_POOL;
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment