summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/NodeModule.cpp4
-rw-r--r--src/gui/PatchPortModule.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index b478e419..e9918068 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -407,9 +407,9 @@ NodeModule::property_changed(const URI& key, const Atom& value)
} else if (key == uris.ingen_selected) {
if (value.get_bool() != get_selected()) {
if (value.get_bool())
- _canvas->select_item(this);
+ canvas()->select_item(this);
else
- _canvas->unselect_item(this);
+ canvas()->unselect_item(this);
}
}
break;
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 2083b929..95118cea 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -154,9 +154,9 @@ PatchPortModule::property_changed(const URI& key, const Atom& value)
} else if (key == uris.ingen_selected) {
if (value.get_bool() != get_selected()) {
if (value.get_bool()) {
- _canvas->select_item(this);
+ canvas()->select_item(this);
} else {
- _canvas->unselect_item(this);
+ canvas()->unselect_item(this);
}
}
}