diff options
-rw-r--r-- | ingen/Node.hpp | 1 | ||||
-rw-r--r-- | ingen/client/ObjectModel.hpp | 2 | ||||
-rw-r--r-- | src/server/NodeImpl.hpp | 5 |
3 files changed, 2 insertions, 6 deletions
diff --git a/ingen/Node.hpp b/ingen/Node.hpp index a585d03a..ddf7bf82 100644 --- a/ingen/Node.hpp +++ b/ingen/Node.hpp @@ -76,7 +76,6 @@ public: virtual GraphType graph_type() const = 0; virtual const Raul::Path& path() const = 0; virtual const Raul::Symbol& symbol() const = 0; - virtual Node* graph_parent() const = 0; Raul::URI base_uri() const { if (uri()[uri().size() - 1] == '/') { diff --git a/ingen/client/ObjectModel.hpp b/ingen/client/ObjectModel.hpp index 42849110..e1cac51b 100644 --- a/ingen/client/ObjectModel.hpp +++ b/ingen/client/ObjectModel.hpp @@ -70,8 +70,6 @@ public: SPtr<ObjectModel> parent() const { return _parent; } bool polyphonic() const; - Node* graph_parent() const { return _parent.get(); } - // Signals INGEN_SIGNAL(new_child, void, SPtr<ObjectModel>); INGEN_SIGNAL(removed_child, void, SPtr<ObjectModel>); diff --git a/src/server/NodeImpl.hpp b/src/server/NodeImpl.hpp index b5b1508b..20ed324f 100644 --- a/src/server/NodeImpl.hpp +++ b/src/server/NodeImpl.hpp @@ -52,9 +52,8 @@ public: virtual ~NodeImpl() {} const Raul::Symbol& symbol() const { return _symbol; } - - Node* graph_parent() const { return _parent; } - NodeImpl* parent() const { return _parent; } + const NodeImpl* parent() const { return _parent; } + NodeImpl* parent() { return _parent; } /** Rename */ virtual void set_path(const Raul::Path& new_path) { |