emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/gtkutil.c,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/src/gtkutil.c,v
Date: Thu, 06 Sep 2007 07:00:57 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/09/06 07:00:56

Index: gtkutil.c
===================================================================
RCS file: /sources/emacs/emacs/src/gtkutil.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- gtkutil.c   2 Sep 2007 16:47:18 -0000       1.115
+++ gtkutil.c   6 Sep 2007 07:00:56 -0000       1.116
@@ -1780,14 +1780,14 @@
    UNGRAB_P is TRUE if this is an ungrab, FALSE if it is a grab.
    CLIENT_DATA is NULL (not used).  */
 
+/* Keep track of total number of grabs.  */
+static int cnt;
+
 static void
 menu_grab_callback (GtkWidget *widget,
                     gboolean ungrab_p,
                     gpointer client_data)
 {
-  /* Keep track of total number of grabs.  */
-  static int cnt;
-
   if (ungrab_p) cnt--;
   else cnt++;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]