From f0a75a3f1d835bc235953d03e1b219bc8d6fcfab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Dec 2011 20:19:07 +0000 Subject: Fix compilation. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3728 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchPortModule.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/PatchPortModule.cpp') diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp index 670de9e9..3efd577f 100644 --- a/src/gui/PatchPortModule.cpp +++ b/src/gui/PatchPortModule.cpp @@ -149,7 +149,7 @@ PatchPortModule::property_changed(const URI& key, const Atom& value) if (key == uris.ingen_polyphonic) { set_stacked_border(value.get_bool()); } else if (key == uris.ingen_selected) { - if (value.get_bool() != selected()) { + if (value.get_bool() != get_selected()) { if (value.get_bool()) { _canvas->select_item(this); } else { @@ -162,9 +162,9 @@ PatchPortModule::property_changed(const URI& key, const Atom& value) } void -PatchPortModule::set_selected(bool b) +PatchPortModule::set_selected(gboolean b) { - if (b != selected()) { + if (b != get_selected()) { Module::set_selected(b); if (app().signal()) app().engine()->set_property(_model->path(), -- cgit v1.2.1