]> Pileus Git - ~andy/gtk/commitdiff
Fix broken quartz build from df3e19b
authorJohn Ralls <jralls@ceridwen.us>
Thu, 28 Feb 2013 20:34:33 +0000 (12:34 -0800)
committerJohn Ralls <jralls@ceridwen.us>
Thu, 28 Feb 2013 20:34:33 +0000 (12:34 -0800)
It's _gdk_display, not display

gdk/quartz/gdkeventloop-quartz.c

index 6691744f2c415754f1fe4e7e3c9733fc0bf297c1..0339bea1744532111adb5f9173775a87adcfe465 100644 (file)
@@ -7,6 +7,7 @@
 #include <unistd.h>
 
 #include "gdkprivate-quartz.h"
+#include <gdk/gdkdisplayprivate.h>
 
 /* 
  * 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 ||