diff options
| author | buliabyak <> | 2013-09-28 19:20:27 +0000 |
|---|---|---|
| committer | buliabyak <> | 2013-09-28 19:20:27 +0000 |
| commit | 6e867cb6aa8b44a3bb9f2dec4361c67cefc8ca8f (patch) | |
| tree | a800d28df81a370bb8813fa0e832f1a362b21a12 /src/extension/effect.cpp | |
| parent | Fixed crash with calligraphic tool in subtract mode. (diff) | |
| download | inkscape-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/extension/effect.cpp')
| -rw-r--r-- | src/extension/effect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index dcccf3d7d..1575c2b10 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -89,7 +89,7 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * } // children of "inkscape-extension" } // if we have an XML file - if (INKSCAPE != NULL) { + if (INKSCAPE != NULL && inkscape_use_gui()) { if (_effects_list == NULL) _effects_list = find_menu(inkscape_get_menus(INKSCAPE), EFFECTS_LIST); if (_filters_list == NULL) |
