Commit e7525262 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

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
parent 796abb78
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)
......
......@@ -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;
}
......
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