diff --git a/gdk/quartz/gdkeventloop-quartz.c b/gdk/quartz/gdkeventloop-quartz.c index 6691744f2c..0339bea174 100644 --- a/gdk/quartz/gdkeventloop-quartz.c +++ b/gdk/quartz/gdkeventloop-quartz.c @@ -7,6 +7,7 @@ #include #include "gdkprivate-quartz.h" +#include /* * This file implementations integration between the GLib main loop and @@ -620,7 +621,7 @@ gdk_event_prepare (GSource *source, *timeout = -1; - if (display->event_pause_count > 0) + if (_gdk_display->event_pause_count > 0) retval = FALSE; else retval = (_gdk_event_queue_find_first (_gdk_display) != NULL || @@ -638,7 +639,7 @@ gdk_event_check (GSource *source) gdk_threads_enter (); - if (display->event_pause_count > 0) + if (_gdk_display->event_pause_count > 0) retval = FALSE; else retval = (_gdk_event_queue_find_first (_gdk_display) != NULL ||