Commit 846972ba authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

Check that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen

2005-05-10  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
	that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
	== gdk_screen_get_default(), as that might return NULL when this
	function is called.
parent 6aaf568c
2005-05-10 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
== gdk_screen_get_default(), as that might return NULL when this
function is called.
2005-05-09 Matthias Clasen <mclasen@redhat.com> 2005-05-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
......
2005-05-10 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
== gdk_screen_get_default(), as that might return NULL when this
function is called.
2005-05-09 Matthias Clasen <mclasen@redhat.com> 2005-05-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
......
2005-05-10 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
== gdk_screen_get_default(), as that might return NULL when this
function is called.
2005-05-09 Matthias Clasen <mclasen@redhat.com> 2005-05-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
......
...@@ -561,7 +561,7 @@ gdk_screen_get_setting (GdkScreen *screen, ...@@ -561,7 +561,7 @@ gdk_screen_get_setting (GdkScreen *screen,
const gchar *name, const gchar *name,
GValue *value) GValue *value)
{ {
g_return_val_if_fail (screen == gdk_screen_get_default (), FALSE); g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
/* /*
* XXX : if these values get changed through the Windoze UI the * XXX : if these values get changed through the Windoze UI the
......
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