diff options
author | David Robillard <d@drobilla.net> | 2011-12-04 00:27:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-04 00:27:01 +0000 |
commit | f8b71cd0d19b79d6bffee9e119677502552fcb49 (patch) | |
tree | 3ef4c1989c31d80966ea209893af0492f80b7df6 /src/gui | |
parent | 9393c08013974c53d398678f0c1b683a67ca1135 (diff) | |
download | ingen-f8b71cd0d19b79d6bffee9e119677502552fcb49.tar.gz ingen-f8b71cd0d19b79d6bffee9e119677502552fcb49.tar.bz2 ingen-f8b71cd0d19b79d6bffee9e119677502552fcb49.zip |
Remove redundant _canvas field from Item.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3783 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/NodeModule.cpp | 4 | ||||
-rw-r--r-- | src/gui/PatchPortModule.cpp | 4 |
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); } } } |