]> git.eshelyaron.com Git - emacs.git/commitdiff
* xmenu.c (x_menu_wait_for_event): Adapt GTK3 to new xg_select.
authorChong Yidong <cyd@gnu.org>
Sat, 23 Jun 2012 10:47:00 +0000 (18:47 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 23 Jun 2012 10:47:00 +0000 (18:47 +0800)
src/ChangeLog
src/xmenu.c

index 27101506fa8e2341ca460c9e0fa17f9827323fbf..2266ccc49ef7eec435ce247c40c74c2413d13dea 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-23  Chong Yidong  <cyd@gnu.org>
+
+       * xmenu.c (x_menu_wait_for_event): Adapt GTK3 to new xg_select.
+
 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
 
        Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
index 16279053e9072bd497e0783770ea9134ea6a617c..98b71b15f057e70978dd79c1e1733eae85239137 100644 (file)
@@ -411,11 +411,10 @@ x_menu_wait_for_event (void *data)
         ntp = &next_time;
 
 #ifdef HAVE_GTK3
-      /* Gtk3 have arrows on menus when they don't fit.  When the pointer is
-         over an arrow, a timeout scrolls it a bit.  Use xg_select so that
-         timeout gets triggered.  */
-
-      xg_select (n + 1, &read_fds, NULL, NULL, ntp);
+      /* Gtk3 have arrows on menus when they don't fit.  When the
+        pointer is over an arrow, a timeout scrolls it a bit.  Use
+        xg_select so that timeout gets triggered.  */
+      xg_select (n + 1, &read_fds, NULL, NULL, ntp, NULL);
 #else
       pselect (n + 1, &read_fds, NULL, NULL, ntp, NULL);
 #endif