diff options
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/document.cpp b/src/document.cpp index 1fc32d8a0..8c6ba7c86 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -218,11 +218,6 @@ SPDocument::~SPDocument() { collectOrphans(); } -sigc::connection SPDocument::connectDestroy(sigc::signal<void>::slot_type slot) -{ - return destroySignal.connect(slot); -} - SPDefs *SPDocument::getDefs() { if (!root) { @@ -974,6 +969,11 @@ void SPDocument::emitResizedSignal(gdouble width, gdouble height) this->resized_signal.emit(width, height); } +sigc::connection SPDocument::connectDestroy(sigc::signal<void>::slot_type slot) +{ + return destroySignal.connect(slot); +} + sigc::connection SPDocument::connectModified(SPDocument::ModifiedSignal::slot_type slot) { return modified_signal.connect(slot); @@ -1868,11 +1868,11 @@ void SPDocument::importDefs(SPDocument *source) prevent_id_clashes(source, this); for (auto & defsNode : defsNodes) { - importDefsNode(source, const_cast<Inkscape::XML::Node *>(defsNode), target_defs); + _importDefsNode(source, const_cast<Inkscape::XML::Node *>(defsNode), target_defs); } } -void SPDocument::importDefsNode(SPDocument *source, Inkscape::XML::Node *defs, Inkscape::XML::Node *target_defs) +void SPDocument::_importDefsNode(SPDocument *source, Inkscape::XML::Node *defs, Inkscape::XML::Node *target_defs) { int stagger=0; |
