From c06607a48b86c00fb526228e737e978bcfa7602f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Dec 2011 20:53:28 +0000 Subject: Use consistent property wrappers for x and y coordinates. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3730 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeModule.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/NodeModule.cpp') diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 79ca74eb..386bea49 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -370,8 +370,8 @@ NodeModule::on_double_click(GdkEventButton* ev) void NodeModule::store_location() { - const Atom x(static_cast(property_x())); - const Atom y(static_cast(property_y())); + const Atom x(static_cast(get_x())); + const Atom y(static_cast(get_y())); const URIs& uris = app().uris(); @@ -396,9 +396,9 @@ NodeModule::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::BOOL: -- cgit v1.2.1