gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call

This was typoed in commit dfe6ba932c
https://bugzilla.gnome.org/show_bug.cgi?id=642843
This commit is contained in:
Marc-André Lureau 2011-02-21 01:44:35 +01:00 committed by Matthias Clasen
parent 4a286010d3
commit f598f75dfb

View File

@ -694,7 +694,7 @@ gdk_cursor_new_from_pixmap (GdkDisplay *display,
xbg.blue = bg->blue;
xbg.green = bg->green;
if (gdk_display_is_closed (display->closed))
if (gdk_display_is_closed (display))
xcursor = None;
else
xcursor = XCreatePixmapCursor (GDK_DISPLAY_XDISPLAY (display),