diff options
| author | David Yip <yipdw@alumni.rose-hulman.edu> | 2006-06-23 03:58:46 +0000 |
|---|---|---|
| committer | dwyip <dwyip@users.sourceforge.net> | 2006-06-23 03:58:46 +0000 |
| commit | 5b9b8a9a450aff53dd4af9c1604294d638054c12 (patch) | |
| tree | 8688f659d21a24963fac9374e591e542b24bd10a /src/document.cpp | |
| parent | about 0.44 (diff) | |
| download | inkscape-5b9b8a9a450aff53dd4af9c1604294d638054c12.tar.gz inkscape-5b9b8a9a450aff53dd4af9c1604294d638054c12.zip | |
quick g_message UndoStackObserver for tracing calls to the undo system
(bzr r1267)
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp index 71f607b65..e42f6c8cb 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -106,6 +106,9 @@ SPDocument::SPDocument() { p->redo = NULL; priv = p; + + // XXX only for testing! + priv->undoStackObservers.add(p->console_output_undo_observer); } SPDocument::~SPDocument() { |
