summaryrefslogtreecommitdiffstats
path: root/src/gui/PortMenu.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PortMenu.hpp')
-rw-r--r--src/gui/PortMenu.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/PortMenu.hpp b/src/gui/PortMenu.hpp
index 21c18560..2eec5e02 100644
--- a/src/gui/PortMenu.hpp
+++ b/src/gui/PortMenu.hpp
@@ -36,9 +36,10 @@ namespace GUI {
class PortMenu : public ObjectMenu
{
public:
- PortMenu(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml);
+ PortMenu(BaseObjectType* cobject,
+ const Glib::RefPtr<Gnome::Glade::Xml>& xml);
- void init(SharedPtr<PortModel> port, bool patch_port = false);
+ void init(SharedPtr<const PortModel> port, bool patch_port=false);
private:
void on_menu_disconnect();