summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkmain-x11.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-12-10 23:14:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:06:58 -0500
commitdfe6ba932ca798c53121f90b7d696b5d2231a179 (patch)
treed6285f17cb56a7a3bb8f963a66a3640a7db9ed1b /gdk/x11/gdkmain-x11.c
parentea96e5e16f964c71f2ac3fcf5237542e4776221c (diff)
downloadgtk+-dfe6ba932ca798c53121f90b7d696b5d2231a179.tar.gz
Don't access GdkDisplay fields directly
Use accessors instead.
Diffstat (limited to 'gdk/x11/gdkmain-x11.c')
-rw-r--r--gdk/x11/gdkmain-x11.c4
1 files changed, 2 insertions, 2 deletions
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 ();