forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
a6497203fd
commit
faed5298bd
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user