summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 16e7cf1)
raw | patch | inline | side by side (parent: 16e7cf1)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Thu, 4 Feb 2010 02:39:19 +0000 (03:39 +0100) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Thu, 4 Feb 2010 02:39:19 +0000 (03:39 +0100) |
src/document-subset.cpp | patch | blob | history |
index aa4046d864605f112fdbdb157281cd3548bab46c..eb7265b2d269171bdb3f4c4b027f3c44033ac088 100644 (file)
--- a/src/document-subset.cpp
+++ b/src/document-subset.cpp
void _doRemove(SPObject *obj) {
Record &record=records[obj];
- record.release_connection.disconnect();
- record.position_changed_connection.disconnect();
- records.erase(obj);
if ( record.parent == NULL ) {
Record &root = records[NULL];
}
}
+ record.release_connection.disconnect();
+ record.position_changed_connection.disconnect();
+ records.erase(obj);
removed_signal.emit(obj);
sp_object_unref(obj);
}