diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-11-19 18:53:12 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-11-19 18:53:12 +0000 |
| commit | d0a75e28a727327d766b9050cda471a12e799511 (patch) | |
| tree | 52e52a2bb6fafdbb4935b984df30f70b9ec34fcc /src/extension/implementation/script.cpp | |
| parent | fix pointer usage after releasing memory (diff) | |
| download | inkscape-d0a75e28a727327d766b9050cda471a12e799511.tar.gz inkscape-d0a75e28a727327d766b9050cda471a12e799511.zip | |
variable initialisation
(bzr r10746)
Diffstat (limited to 'src/extension/implementation/script.cpp')
| -rw-r--r-- | src/extension/implementation/script.cpp | 9 |
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()); |
