Code

do not embed transform if it's not translation and the object has a filter
[inkscape.git] / src / undo-stack-observer.h
index cd17c467575ca2415c89d0fb8d5db2b78658c3fc..dbda2b9809e04f867224b3efaa16c5fe6415af53 100644 (file)
@@ -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() { }