summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.h
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-11-22 01:00:26 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-11-22 01:00:26 +0000
commitf8ab34e6062806d3c028a4b6068b64dc38066254 (patch)
tree822ff805fc12723ac1398010eb59a816198ad9d8 /gtk/gtkmenushell.h
parent2fe5a448ee7a7cc3d4c256489872ee25f13657d1 (diff)
downloadgtk+-f8ab34e6062806d3c028a4b6068b64dc38066254.tar.gz
GdkEventButton->button can occupy significantly more than 2 bits. Besides,
* gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly more than 2 bits. Besides, I need to implement an evil hack. :)
Diffstat (limited to 'gtk/gtkmenushell.h')
-rw-r--r--gtk/gtkmenushell.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkmenushell.h b/gtk/gtkmenushell.h
index 15aafc6d80..3d09f7fbc9 100644
--- a/gtk/gtkmenushell.h
+++ b/gtk/gtkmenushell.h
@@ -56,15 +56,15 @@ struct _GtkMenuShell
GtkWidget *active_menu_item;
GtkWidget *parent_menu_shell;
+ guint button;
+ guint32 activate_time;
+
guint active : 1;
guint have_grab : 1;
guint have_xgrab : 1;
- guint button : 2;
guint ignore_leave : 1;
guint menu_flag : 1;
guint ignore_enter : 1;
-
- guint32 activate_time;
};
struct _GtkMenuShellClass