summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-06-16 01:09:41 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-06-16 15:04:27 +0200
commit404f4c5d40c2ebf31da41144154abbc27de642a5 (patch)
treeb9de33b765564e7798c9459458bdcb1a53bf39ba /gtk/gtkmenushell.h
parentdfc9c87a4671b8aff7a89fb71bdc64e805c93205 (diff)
downloadgtk+-404f4c5d40c2ebf31da41144154abbc27de642a5.tar.gz
GtkMenuShell: take a single device for grabs.
The other device will always be the associated device.
Diffstat (limited to 'gtk/gtkmenushell.h')
-rw-r--r--gtk/gtkmenushell.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk/gtkmenushell.h b/gtk/gtkmenushell.h
index f8c5a32c54..d9b2307b87 100644
--- a/gtk/gtkmenushell.h
+++ b/gtk/gtkmenushell.h
@@ -119,12 +119,9 @@ void _gtk_menu_shell_select_last (GtkMenuShell *menu_shell,
void _gtk_menu_shell_activate (GtkMenuShell *menu_shell);
gint _gtk_menu_shell_get_popup_delay (GtkMenuShell *menu_shell);
-void _gtk_menu_shell_set_grab_devices (GtkMenuShell *menu_shell,
- GdkDevice *keyboard,
- GdkDevice *pointer);
-gboolean _gtk_menu_shell_get_grab_devices (GtkMenuShell *menu_shell,
- GdkDevice **keyboard,
- GdkDevice **pointer);
+void _gtk_menu_shell_set_grab_device (GtkMenuShell *menu_shell,
+ GdkDevice *device);
+GdkDevice * _gtk_menu_shell_get_grab_device (GtkMenuShell *menu_shell);
void gtk_menu_shell_cancel (GtkMenuShell *menu_shell);