summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.cpp')
-rw-r--r--src/selection.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/selection.cpp b/src/selection.cpp
index 09eaf6c0e..bdd4f0dc7 100644
--- a/src/selection.cpp
+++ b/src/selection.cpp
@@ -27,15 +27,16 @@
#include "sp-shape.h"
#include "sp-path.h"
+#include "desktop.h"
#include "document.h"
#define SP_SELECTION_UPDATE_PRIORITY (G_PRIORITY_HIGH_IDLE + 1)
namespace Inkscape {
-Selection::Selection(LayerModel *layers, SPDesktop *desktop) :
+Selection::Selection(LayerModel *layers, SPDesktop *desktop):
+ ObjectSet(desktop),
_layers(layers),
- _desktop(desktop),
_selection_context(NULL),
_flags(0),
_idle(0)