summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-04-25 19:21:46 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-04-25 19:21:46 +0000
commitc77015681d34ba29fe32c05c47e2e1de0a9c7364 (patch)
tree035be529d51bf736d2ed72854c188aa9e839a8b6 /src
parentFix for 979577 : Replace deprecated gtk_option_menu with gtk_combo_box - Fix ... (diff)
downloadinkscape-c77015681d34ba29fe32c05c47e2e1de0a9c7364.tar.gz
inkscape-c77015681d34ba29fe32c05c47e2e1de0a9c7364.zip
Issue with my last commit
(bzr r11293)
Diffstat (limited to 'src')
-rw-r--r--src/interface.cpp5
-rw-r--r--src/interface.h1
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
*/