From f598f75dfb82bcd2d7f2b69ec7a582743f42b0c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 21 Feb 2011 01:44:35 +0100 Subject: [PATCH] gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call This was typoed in commit dfe6ba932ca798c53121f90b7d696b5d2231a179 https://bugzilla.gnome.org/show_bug.cgi?id=642843 --- gdk/x11/gdkcursor-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index 6cc43a6808..2ad29b7650 100644 --- a/gdk/x11/gdkcursor-x11.c +++ b/gdk/x11/gdkcursor-x11.c @@ -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),