Commit bb4cff8e authored by Chun-wei Fan's avatar Chun-wei Fan

gdk/win32/gdkevents-win32.c: Fix build

The variable "display" is not defined, causing the build to fail.
Judging from the code, it seems that it should be _gdk_display instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694339
parent e28b10d5
......@@ -3330,7 +3330,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 ||
......@@ -3349,7 +3349,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 if (event_poll_fd.revents & G_IO_IN)
retval = (_gdk_event_queue_find_first (_gdk_display) != NULL ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment