summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchPortModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchPortModule.cpp')
-rw-r--r--src/gui/PatchPortModule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 3efd577f..ef886ddd 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -85,8 +85,8 @@ PatchPortModule::show_menu(GdkEventButton* ev)
void
PatchPortModule::store_location()
{
- const Atom x(static_cast<float>(property_x()));
- const Atom y(static_cast<float>(property_y()));
+ const Atom x(static_cast<float>(get_x()));
+ const Atom y(static_cast<float>(get_y()));
const URIs& uris = app().uris();
@@ -131,9 +131,9 @@ PatchPortModule::property_changed(const URI& key, const Atom& value)
switch (value.type()) {
case Atom::FLOAT:
if (key == uris.ingen_canvas_x) {
- move_to(value.get_float(), property_y());
+ move_to(value.get_float(), get_y());
} else if (key == uris.ingen_canvas_y) {
- move_to(property_x(), value.get_float());
+ move_to(get_x(), value.get_float());
}
break;
case Atom::STRING: