X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fundo-history.h;h=7b900fde5c1d67e41aef6e36773bf1d46be6e608;hb=2955009a65ecc64e448d2b8deb478705ff10a38f;hp=2857fb88a5e4c160f65ead579a4c427f2c197d41;hpb=5c8e50345f9a78a6823dff57ba6b75109f81cd77;p=inkscape.git diff --git a/src/ui/dialog/undo-history.h b/src/ui/dialog/undo-history.h index 2857fb88a..7b900fde5 100644 --- a/src/ui/dialog/undo-history.h +++ b/src/ui/dialog/undo-history.h @@ -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