summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h16
1 files changed, 2 insertions, 14 deletions
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<XML::Node*> const &reprs);
-
-
using ObjectSet::includes;
/**