forked from AuroraMiddleware/gtk
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:
parent
796abb7844
commit
e7525262bd
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user