summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/implementation/script.cpp')
-rw-r--r--src/extension/implementation/script.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp
index ca9c094db..08624aff0 100644
--- a/src/extension/implementation/script.cpp
+++ b/src/extension/implementation/script.cpp
@@ -149,7 +149,8 @@ std::string Script::resolveInterpreterExecutable(const Glib::ustring &interpName
of memory in the unloaded state.
*/
Script::Script() :
- Implementation()
+ Implementation(),
+ _canceled(false)
{
}
@@ -177,8 +178,7 @@ Script::~Script()
string. This means that the caller of this function can always
free what they are given (and should do it too!).
*/
-std::string
-Script::solve_reldir(Inkscape::XML::Node *reprin) {
+std::string Script::solve_reldir(Inkscape::XML::Node *reprin) {
gchar const *s = reprin->attribute("reldir");
@@ -361,8 +361,7 @@ void Script::unload(Inkscape::Extension::Extension */*module*/)
\param module The Extension in question
*/
-bool
-Script::check(Inkscape::Extension::Extension *module)
+bool Script::check(Inkscape::Extension::Extension *module)
{
int script_count = 0;
Inkscape::XML::Node *child_repr = sp_repr_children(module->get_repr());