From c77015681d34ba29fe32c05c47e2e1de0a9c7364 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Wed, 25 Apr 2012 21:21:46 +0200 Subject: Issue with my last commit (bzr r11293) --- src/interface.cpp | 5 ----- src/interface.h | 1 - 2 files changed, 6 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3