summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 326274f)
raw | patch | inline | side by side (parent: 326274f)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Thu, 1 Mar 2007 07:14:01 +0000 (07:14 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Thu, 1 Mar 2007 07:14:01 +0000 (07:14 +0000) |
Protecting against the posibility of the INKSCAPE variable being NULL
src/extension/effect.cpp | patch | blob | history |
index 1fef1a9db9f0f8032099dd84a45504417cf13636..0f9434c17abafcf8c01b7955771a58fd1c6a6b36 100644 (file)
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
} // children of "inkscape-extension"
} // if we have an XML file
- if (_effects_list == NULL)
+ if (_effects_list == NULL && INKSCAPE != NULL) {
find_effects_list(inkscape_get_menus(INKSCAPE));
+ }
if (_effects_list != NULL) {
Inkscape::XML::Document *xml_doc;