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
This commit is contained in:
Tor Lillqvist 2009-01-05 15:31:14 +00:00 committed by Tor Lillqvist
parent 64ba230671
commit 7ddb955766
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
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.
2009-01-04 Matthias Clasen <mclasen@redhat.com>
Bug 566568 gtk_tree_model_get_value docs typo

View File

@ -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