mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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.
This commit is contained in:
parent
6aaf568c31
commit
846972ba14
@ -1,3 +1,10 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
|
||||
|
@ -1,3 +1,10 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
|
||||
|
@ -1,3 +1,10 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
|
||||
|
@ -561,7 +561,7 @@ gdk_screen_get_setting (GdkScreen *screen,
|
||||
const gchar *name,
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user