diff options
| author | gustav_b <gustav_b@users.sourceforge.net> | 2006-10-01 18:57:05 +0000 |
|---|---|---|
| committer | gustav_b <gustav_b@users.sourceforge.net> | 2006-10-01 18:57:05 +0000 |
| commit | a8c615d56eda3f3e6ee05e9b133151daaeafae72 (patch) | |
| tree | c32b5f6a6661b332058a1fad5e23d7238188dcf4 /src/document.cpp | |
| parent | Other tools now also retain there specific statusbar text when pressing alt/s... (diff) | |
| download | inkscape-a8c615d56eda3f3e6ee05e9b133151daaeafae72.tar.gz inkscape-a8c615d56eda3f3e6ee05e9b133151daaeafae72.zip | |
Moved EventLog from SPDocument to SPDesktop to prevent it from being
created when Inkscape is started in non-gui mode. Fixes a critical
assertion caused by creation of a Gtk::TreeStore.
(bzr r1749)
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/document.cpp b/src/document.cpp index f403f3aad..8731ee71c 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -107,9 +107,6 @@ SPDocument::SPDocument() { p->undo = NULL; p->redo = NULL; - p->undoStackObservers.add(p->event_log); - p->event_log.setDocument(this); - priv = p; // XXX only for testing! @@ -659,12 +656,6 @@ SPDocument::removeUndoObserver(Inkscape::UndoStackObserver& observer) this->priv->undoStackObservers.remove(observer); } -Inkscape::EventLog& -SPDocument::getEventLog() const -{ - return priv->event_log; -} - SPObject *SPDocument::getObjectById(gchar const *id) { g_return_val_if_fail(id != NULL, NULL); |
