diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-04-04 12:43:23 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-04-04 12:43:23 +0000 |
| commit | cb4e0f299acf0842db9c185c15158b96c1dacbd2 (patch) | |
| tree | 786288e97f43c54c1e38def95b3c472ed10c5c77 /src/document.cpp | |
| parent | Attempt to fix Mac CI (missing double-conversion) (diff) | |
| download | inkscape-cb4e0f299acf0842db9c185c15158b96c1dacbd2.tar.gz inkscape-cb4e0f299acf0842db9c185c15158b96c1dacbd2.zip | |
Reorganize document.h.
Diffstat (limited to '')
| -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; |
