summaryrefslogtreecommitdiffstats
path: root/src/gui/PortMenu.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-22 03:08:06 +0000
committerDavid Robillard <d@drobilla.net>2011-10-22 03:08:06 +0000
commitac1d6d135bda8d739fdb8bf564f89c38b664c097 (patch)
treed750da79dd88b64ab2a88cca1651c2a5a240bd72 /src/gui/PortMenu.hpp
parent143968e38cc2f058dd7c500e984904a39864d652 (diff)
downloadingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.tar.gz
ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.tar.bz2
ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.zip
De-singleton-ify GUI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3584 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PortMenu.hpp')
-rw-r--r--src/gui/PortMenu.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/PortMenu.hpp b/src/gui/PortMenu.hpp
index 5efb8e2a..b38e7a2b 100644
--- a/src/gui/PortMenu.hpp
+++ b/src/gui/PortMenu.hpp
@@ -39,7 +39,9 @@ public:
PortMenu(BaseObjectType* cobject,
const Glib::RefPtr<Gtk::Builder>& xml);
- void init(SharedPtr<const PortModel> port, bool patch_port=false);
+ void init(App& app,
+ SharedPtr<const PortModel> port,
+ bool patch_port=false);
private:
void on_menu_disconnect();