summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index f30e2fc4..79ca74eb 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -405,7 +405,7 @@ NodeModule::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
@@ -423,10 +423,10 @@ NodeModule::property_changed(const URI& key, const Atom& value)
}
void
-NodeModule::set_selected(bool b)
+NodeModule::set_selected(gboolean b)
{
const URIs& uris = app().uris();
- if (b != selected()) {
+ if (b != get_selected()) {
Module::set_selected(b);
if (b) {
PatchWindow* win = app().window_factory()->parent_patch_window(node());