Code

noop: Use G_N_ELEMENTS in attach_all callers instead of passing sizeof.
[inkscape.git] / src / ui / dialog / undo-history.h
index 2857fb88a5e4c160f65ead579a4c427f2c197d41..7b900fde5c1d67e41aef6e36773bf1d46be6e608 100644 (file)
@@ -120,7 +120,10 @@ class UndoHistory : public Dialog {
 public:
     virtual ~UndoHistory();
 
-    static UndoHistory *create() { return new UndoHistory(); }
+    static UndoHistory *create();
+    void setDesktop(SPDesktop* desktop);
+
+    sigc::connection _document_replaced_connection;
 
 protected:
 
@@ -158,7 +161,6 @@ private:
     static const CellRendererInt::Filter& greater_than_1;
 };
 
-
 } // namespace Dialog
 } // namespace UI
 } // namespace Inkscape