diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/interface.cpp | 5 | ||||
| -rw-r--r-- | src/interface.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index d8284cee8..d43662317 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -1651,11 +1651,6 @@ ContextMenu::~ContextMenu(void) { } -void ContextMenu::on_hide() -{ - delete this; -} - Gtk::SeparatorMenuItem* ContextMenu::AddSeparator(void) { Gtk::SeparatorMenuItem* sep = manage(new Gtk::SeparatorMenuItem()); diff --git a/src/interface.h b/src/interface.h index 422a18603..029bb4154 100644 --- a/src/interface.h +++ b/src/interface.h @@ -123,7 +123,6 @@ class ContextMenu : public Gtk::Menu Gtk::MenuItem MIGroup; //menu entry to enter a group Gtk::MenuItem MIParent; //menu entry to leave a group - void on_hide(); /** * auxiliary function that adds a separator line in the context menu */ |
