diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-12 23:40:29 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-12 23:40:29 +0000 |
| commit | 103f6024be50ddb0fc0af2f5b05e017de3d59126 (patch) | |
| tree | 513b6d9a0b15aa8f67f218c4e19afda30aaacf4d /src | |
| parent | update to trunk (diff) | |
| parent | Disconnect before destroying URI (diff) | |
| download | inkscape-103f6024be50ddb0fc0af2f5b05e017de3d59126.tar.gz inkscape-103f6024be50ddb0fc0af2f5b05e017de3d59126.zip | |
update to trunk
(bzr r11950.1.292)
Diffstat (limited to 'src')
| -rw-r--r-- | src/uri-references.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri-references.cpp b/src/uri-references.cpp index 1da890c56..6db2ed21f 100644 --- a/src/uri-references.cpp +++ b/src/uri-references.cpp @@ -115,10 +115,10 @@ void URIReference::attach(const URI &uri) throw(BadURIException) /* FIXME !!! validate id as an NCName somewhere */ + _connection.disconnect(); delete _uri; _uri = new URI(uri); - _connection.disconnect(); _setObject(document->getObjectById(id)); _connection = document->connectIdChanged(id, sigc::mem_fun(*this, &URIReference::_setObject)); |
