From d37444eade200b5e527a89164a39bc2894addf6f Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Tue, 25 Oct 2016 12:03:33 +0200 Subject: Fix signals (bzr r15191) --- src/selection.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'src/selection.h') diff --git a/src/selection.h b/src/selection.h index cf00ba1f4..54826970f 100644 --- a/src/selection.h +++ b/src/selection.h @@ -59,6 +59,7 @@ class Selection : public Inkscape::GC::Managed<>, public Inkscape::GC::Anchored, public ObjectSet { +friend class ObjectSet; public: /** * Constructs an selection object, bound to a particular @@ -98,12 +99,7 @@ public: add(_objectForXMLNode(repr)); } - /** - * Set the selection to a single specific object. - * - * @param obj the object to select - */ - void set(SPObject *obj, bool persist_selection_context = false); + using ObjectSet::set; /** * Set the selection to an XML node's SPObject. @@ -127,14 +123,6 @@ public: remove(_objectForXMLNode(repr)); } - /** - * Clears the selection and selects the specified objects. - * - * @param repr a list of xml nodes for the items to select - */ - void setReprList(std::vector const &reprs); - - using ObjectSet::includes; /** -- cgit v1.2.3