summaryrefslogtreecommitdiff
path: root/src/gtkutil.h
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2003-11-02 16:47:32 +0000
committerJan Djärv <jan.h.d@swipnet.se>2003-11-02 16:47:32 +0000
commitda18b5acc8fd71658b8051ffc889314fe98132e8 (patch)
treead902bd9fd2042d67c692967e1ae2f36de9a730e /src/gtkutil.h
parent10695e5cbcc795614b8585fda05bc14da278a4af (diff)
downloademacs-da18b5acc8fd71658b8051ffc889314fe98132e8.tar.gz
Remove tear off capability for GTK popup menus.
Since the context in Lisp is not present anymore, we don't know how to invoke the action for a menu item.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r--src/gtkutil.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 3ede2f06ae4..5864a334edc 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -150,7 +150,7 @@ extern void xg_modify_menubar_widgets P_ ((GtkWidget *menubar,
extern int xg_update_frame_menubar P_ ((FRAME_PTR f));
-extern void xg_keep_popup P_ ((GtkWidget *menu, GtkWidget *submenu));
+extern int xg_have_tear_offs P_ ((void));
extern int xg_get_scroll_id_for_window P_ ((Window wid));
@@ -201,12 +201,6 @@ extern void xg_initialize P_ ((void));
to indicate that the callback should do nothing. */
extern int xg_ignore_gtk_scrollbar;
-/* If a detach of a menu is done, this is the menu widget that got
- detached. Must be set to NULL before popping up popup menus.
- Used with xg_keep_popup to delay deleting popup menus when they
- have been detached. */
-extern GtkWidget *xg_did_tearoff;
-
#endif /* USE_GTK */
#endif /* GTKUTIL_H */