summaryrefslogtreecommitdiffstats
path: root/src/undo-stack-observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo-stack-observer.h')
-rw-r--r--src/undo-stack-observer.h4
1 files changed, 3 insertions, 1 deletions
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() { }