applied patch from Mark Tiefenbruck to add missing return_if_fail,

Fri Jun 22 00:34:34 2007  Tim Janik  <timj@gtk.org>

        * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
        patch from Mark Tiefenbruck to add missing return_if_fail, #449862.



svn path=/trunk/; revision=18215
This commit is contained in:
Tim Janik 2007-06-21 22:37:21 +00:00 committed by Tim Janik
parent 796abb7844
commit e7525262bd
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Jun 22 00:34:34 2007 Tim Janik <timj@gtk.org>
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
2007-06-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbar.c: Remove debug spew. (#449492, Christian Persch)

View File

@ -896,6 +896,7 @@ _gdk_x11_display_screen_for_xrootwin (GdkDisplay *display,
Display *
gdk_x11_display_get_xdisplay (GdkDisplay *display)
{
g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
return GDK_DISPLAY_X11 (display)->xdisplay;
}