summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-03-15 04:07:41 +0000
committermental <mental@users.sourceforge.net>2006-03-15 04:07:41 +0000
commitf6f201213db27d2aae22264c4d7770884b8c6ea9 (patch)
treefab3322ab8affa723d736ba9bc1ac669d658fb43 /src/selection.h
parentshared_ptr -> ptr_shared (diff)
downloadinkscape-f6f201213db27d2aae22264c4d7770884b8c6ea9.tar.gz
inkscape-f6f201213db27d2aae22264c4d7770884b8c6ea9.zip
Replace GC::Managed<>::clearOnceInaccessible with GC::soft_ptr<>
(bzr r241)
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/selection.h b/src/selection.h
index 407854406..3c2ec5c32 100644
--- a/src/selection.h
+++ b/src/selection.h
@@ -25,6 +25,7 @@
#include "gc-managed.h"
#include "gc-finalized.h"
#include "gc-anchored.h"
+#include "gc-soft-ptr.h"
#include "util/list.h"
class SPItem;
@@ -324,7 +325,7 @@ private:
mutable GSList *_reprs;
mutable GSList *_items;
- SPDesktop *_desktop;
+ GC::soft_ptr<SPDesktop> _desktop;
guint _flags;
guint _idle;