From dfe6ba932ca798c53121f90b7d696b5d2231a179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 10 Dec 2010 23:14:43 -0500 Subject: Don't access GdkDisplay fields directly Use accessors instead. --- gdk/x11/gdkmain-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdk/x11/gdkmain-x11.c') diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 056c90b629..57aedf542c 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -209,7 +209,7 @@ _gdk_windowing_display_set_sm_client_id (GdkDisplay *display, { GdkDisplayX11 *display_x11 = GDK_DISPLAY_X11 (display); - if (display->closed) + if (gdk_display_is_closed (display)) return; if (sm_client_id && strcmp (sm_client_id, "")) @@ -507,7 +507,7 @@ _gdk_send_xevent (GdkDisplay *display, { gboolean result; - if (display->closed) + if (gdk_display_is_closed (display)) return FALSE; gdk_error_trap_push (); -- cgit v1.2.1