summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorbuliabyak <>2013-09-28 19:20:27 +0000
committerbuliabyak <>2013-09-28 19:20:27 +0000
commit6e867cb6aa8b44a3bb9f2dec4361c67cefc8ca8f (patch)
treea800d28df81a370bb8813fa0e832f1a362b21a12 /src/inkscape.cpp
parentFixed crash with calligraphic tool in subtract mode. (diff)
downloadinkscape-6e867cb6aa8b44a3bb9f2dec4361c67cefc8ca8f.tar.gz
inkscape-6e867cb6aa8b44a3bb9f2dec4361c67cefc8ca8f.zip
effects don't need to merge into menus if we're running without gui; with this we can purge a redundant reading of menus skeleton, which leaked its xml tree
(bzr r12616)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index cce4ca5b9..228841362 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -502,7 +502,7 @@ inkscape_init (SPObject * object)
new (&inkscape->document_set) std::map<SPDocument *, int>();
new (&inkscape->selection_models) std::map<SPDocument *, AppSelectionModel *>();
- inkscape->menus = sp_repr_read_mem (_(menus_skeleton), MENUS_SKELETON_SIZE, NULL);
+ inkscape->menus = NULL;
inkscape->desktops = NULL;
inkscape->dialogs_toggle = TRUE;
inkscape->mapalt = GDK_MOD1_MASK;