summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-11 22:23:55 +0000
committerDavid Robillard <d@drobilla.net>2009-05-11 22:23:55 +0000
commit1e27f4e1b9e551b4c1241340edbefbc014e5193f (patch)
tree37bc2cdce28dc15893a2d5292839bd7e3810356f /src/gui
parentedf73d79e383d6be304266e6d18e7f751b5bdf9c (diff)
downloadingen-1e27f4e1b9e551b4c1241340edbefbc014e5193f.tar.gz
ingen-1e27f4e1b9e551b4c1241340edbefbc014e5193f.tar.bz2
ingen-1e27f4e1b9e551b4c1241340edbefbc014e5193f.zip
Remove unused flag.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1979 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp3
-rw-r--r--src/gui/PatchCanvas.hpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 6673c1d3..9b9c466b 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -61,7 +61,6 @@ PatchCanvas::PatchCanvas(SharedPtr<PatchModel> patch, int width, int height)
, _last_click_x(0)
, _last_click_y(0)
, _paste_count(0)
- , _refresh_menu(false)
, _human_names(true)
, _show_port_names(true)
, _menu(NULL)
@@ -347,8 +346,6 @@ PatchCanvas::add_plugin(SharedPtr<PluginModel> p)
_classless_menu->show();
}
}
-
- _refresh_menu = true; // Refresh next time on show
}
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index 139b7582..d3b55936 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -141,7 +141,6 @@ private:
typedef std::multimap<const std::string, Gtk::Menu*> ClassMenus;
ClassMenus _class_menus;
- bool _refresh_menu;
bool _human_names;
bool _show_port_names;
Gtk::Menu* _menu;