From 5b9b8a9a450aff53dd4af9c1604294d638054c12 Mon Sep 17 00:00:00 2001 From: David Yip Date: Fri, 23 Jun 2006 03:58:46 +0000 Subject: quick g_message UndoStackObserver for tracing calls to the undo system (bzr r1267) --- src/document.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/document.cpp') 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() { -- cgit v1.2.3