[gtk+] gdk/win32/gdkevents-win32.c: Fix build



commit bb4cff8ecf465c3a03cc44f11e83960294c6c6fa
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Mar 6 16:47:32 2013 +0800

    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

 gdk/win32/gdkevents-win32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index 7866f31..afa2074 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -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 ||


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]