Fix broken quartz build from df3e19b

It's _gdk_display, not display
This commit is contained in:
John Ralls 2013-02-28 12:34:33 -08:00
parent e45f463723
commit afe8ce2ef7

View 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 ||