From 67df8eb23b9f74d1368b0aff430f9423883a320d Mon Sep 17 00:00:00 2001 From: David Yip Date: Tue, 4 Jul 2006 20:35:26 +0000 Subject: switched UndoStackObserver / CompositeUndoStackObserver to use GC managed memory. Initial tests seem to check out okay (bzr r1352) --- src/undo-stack-observer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/undo-stack-observer.h') diff --git a/src/undo-stack-observer.h b/src/undo-stack-observer.h index cd17c4675..dbda2b980 100644 --- a/src/undo-stack-observer.h +++ b/src/undo-stack-observer.h @@ -14,6 +14,8 @@ #ifndef __UNDO_COMMIT_OBSERVER_H__ #define __UNDO_COMMIT_OBSERVER_H__ +#include "gc-managed.h" + namespace Inkscape { class Event; @@ -32,7 +34,7 @@ class Event; * UndoStackObservers should not be used on their own. Instead, they should be registered * with a CompositeUndoStackObserver. */ -class UndoStackObserver { +class UndoStackObserver : public GC::Managed<> { public: UndoStackObserver() { } virtual ~UndoStackObserver() { } -- cgit v1.2.3