From: gouldtj Date: Thu, 1 Mar 2007 07:14:01 +0000 (+0000) Subject: r14578@tres: ted | 2007-02-27 18:59:35 -0800 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=16cc0363ccd650080699a73b56c4e4513e653f6d;p=inkscape.git r14578@tres: ted | 2007-02-27 18:59:35 -0800 Protecting against the posibility of the INKSCAPE variable being NULL --- diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index 1fef1a9db..0f9434c17 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -67,8 +67,9 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * } // 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;