aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gtkutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 36873f23e6d..c057cc719e0 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1780,14 +1780,14 @@ menu_destroy_callback (w, client_data)
1780 UNGRAB_P is TRUE if this is an ungrab, FALSE if it is a grab. 1780 UNGRAB_P is TRUE if this is an ungrab, FALSE if it is a grab.
1781 CLIENT_DATA is NULL (not used). */ 1781 CLIENT_DATA is NULL (not used). */
1782 1782
1783/* Keep track of total number of grabs. */
1784static int cnt;
1785
1783static void 1786static void
1784menu_grab_callback (GtkWidget *widget, 1787menu_grab_callback (GtkWidget *widget,
1785 gboolean ungrab_p, 1788 gboolean ungrab_p,
1786 gpointer client_data) 1789 gpointer client_data)
1787{ 1790{
1788 /* Keep track of total number of grabs. */
1789 static int cnt;
1790
1791 if (ungrab_p) cnt--; 1791 if (ungrab_p) cnt--;
1792 else cnt++; 1792 else cnt++;
1793 1793