diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-02 22:50:42 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-02 22:50:42 +0000 |
| commit | 8babf3d70056346615f6b32867c0a738afaa6761 (patch) | |
| tree | 45777db7f1e039dfe6ce73bd1133b2ba2720d2d8 /src/document.cpp | |
| parent | Add new curve structure to show temporay item while draw on bspline and spiro... (diff) | |
| parent | fix scaling crash for clipped objects (Bug 1286647) (diff) | |
| download | inkscape-8babf3d70056346615f6b32867c0a738afaa6761.tar.gz inkscape-8babf3d70056346615f6b32867c0a738afaa6761.zip | |
update to trunk
(bzr r11950.1.267)
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp index 112503320..18e626b5b 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -141,6 +141,8 @@ SPDocument::SPDocument() : } SPDocument::~SPDocument() { + priv->destroySignal.emit(); + // kill/unhook this first if ( profileManager ) { delete profileManager; @@ -230,6 +232,11 @@ SPDocument::~SPDocument() { //delete this->_whiteboard_session_manager; } +sigc::connection SPDocument::connectDestroy(sigc::signal<void>::slot_type slot) +{ + return priv->destroySignal.connect(slot); +} + SPDefs *SPDocument::getDefs() { if (!root) { |
