summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2009-01-05 15:31:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2009-01-05 15:31:14 +0000
commit7ddb955766bbbb94f623bdf1d70af67ee545d6bd (patch)
tree8f31b296e861320f69c5a589d051d4dcf98424ed /gdk
parent64ba2306714f26bcaf52488027661ab6d8f610fe (diff)
downloadgdk-pixbuf-7ddb955766bbbb94f623bdf1d70af67ee545d6bd.tar.gz
Bug 566628 - gdk_display_close always asserts on win32
2009-01-05 Tor Lillqvist <tml@novell.com> Bug 566628 - gdk_display_close always asserts on win32 * gdk/win32/gdkdisplay-win32.c (_gdk_windowing_set_default_display): Allow also a NULL parameter in the g_assert(). Still don't actually do anything in this function, though. svn path=/trunk/; revision=22068
Diffstat (limited to 'gdk')
-rw-r--r--gdk/win32/gdkdisplay-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index 4d70897a2..8bdb9331e 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -33,7 +33,7 @@
void
_gdk_windowing_set_default_display (GdkDisplay *display)
{
- g_assert (_gdk_display == display);
+ g_assert (display == NULL || _gdk_display == display);
}
#ifdef HAVE_MONITOR_INFO