From ac1d6d135bda8d739fdb8bf564f89c38b664c097 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Oct 2011 03:08:06 +0000 Subject: De-singleton-ify GUI. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3584 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PortMenu.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/PortMenu.hpp') 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& xml); - void init(SharedPtr port, bool patch_port=false); + void init(App& app, + SharedPtr port, + bool patch_port=false); private: void on_menu_disconnect(); -- cgit v1.2.1