From 16cc0363ccd650080699a73b56c4e4513e653f6d Mon Sep 17 00:00:00 2001 From: gouldtj Date: Thu, 1 Mar 2007 07:14:01 +0000 Subject: [PATCH] r14578@tres: ted | 2007-02-27 18:59:35 -0800 Protecting against the posibility of the INKSCAPE variable being NULL --- src/extension/effect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2