summaryrefslogtreecommitdiffstats
path: root/src/desktop.h
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2006-10-01 18:57:05 +0000
committergustav_b <gustav_b@users.sourceforge.net>2006-10-01 18:57:05 +0000
commita8c615d56eda3f3e6ee05e9b133151daaeafae72 (patch)
treec32b5f6a6661b332058a1fad5e23d7238188dcf4 /src/desktop.h
parentOther tools now also retain there specific statusbar text when pressing alt/s... (diff)
downloadinkscape-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/desktop.h')
-rw-r--r--src/desktop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop.h b/src/desktop.h
index c9484f2fe..948fd53bc 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -52,6 +52,7 @@ namespace Inkscape {
class Selection;
class ObjectHierarchy;
class LayerManager;
+ class EventLog;
namespace UI {
namespace Dialog {
class DialogManager;
@@ -76,6 +77,7 @@ struct SPDesktop : public Inkscape::UI::View::View
Inkscape::Selection *selection;
SPEventContext *event_context;
Inkscape::LayerManager *layer_manager;
+ Inkscape::EventLog *event_log;
SPCanvasItem *acetate;
SPCanvasGroup *main;