2009-01-26 Richard Hult <richard@imendio.com>
Bug 566628 – gdk_display_close always asserts on win32 and quartz
* gdk/quartz/gdkdisplay-quartz.c
(_gdk_windowing_set_default_display): Copy fix for bug #566628
from the win32 backend: Allow also a NULL parameter in the
g_assert().
svn path=/trunk/; revision=22223
+2009-01-26 Richard Hult <richard@imendio.com>
+
+ Bug 566628 – gdk_display_close always asserts on win32 and quartz
+
+ * gdk/quartz/gdkdisplay-quartz.c
+ (_gdk_windowing_set_default_display): Copy fix for bug #566628
+ from the win32 backend: Allow also a NULL parameter in the
+ g_assert().
+
2009-01-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolitem.[hc]: Export the function to create a proxy
2009-01-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolitem.[hc]: Export the function to create a proxy
void
_gdk_windowing_set_default_display (GdkDisplay *display)
{
void
_gdk_windowing_set_default_display (GdkDisplay *display)
{
- g_assert (_gdk_display == display);
+ g_assert (display == NULL || _gdk_display == display);