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
commit2903349da06af07ad7119c1f5222689aa8a80db5 (patch)
treef4f8bdcbe55623d5e045e4b910a73efdf77beb23 /src/gtkutil.h
parent3b41d0b0b76c724fb2196a2812d1649bdf12c28e (diff)
downloademacs-2903349da06af07ad7119c1f5222689aa8a80db5.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 */