summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4aef859)
raw | patch | inline | side by side (parent: 4aef859)
author | knutux <knutux@users.sourceforge.net> | |
Wed, 5 Apr 2006 15:42:53 +0000 (15:42 +0000) | ||
committer | knutux <knutux@users.sourceforge.net> | |
Wed, 5 Apr 2006 15:42:53 +0000 (15:42 +0000) |
src/selection.cpp | patch | blob | history |
diff --git a/src/selection.cpp b/src/selection.cpp
index 0b17eefe98d0a5814ff0fef502e885165d78a239..702cc6594ac5579ea4f63c21335f1462f7b74965 100644 (file)
--- a/src/selection.cpp
+++ b/src/selection.cpp
if (NULL == _selection_context) {
_selection_context = desktop()->currentLayer();
sp_object_ref(_selection_context, NULL);
- g_signal_connect(G_OBJECT(_selection_context), "release",
- G_CALLBACK(&Selection::_releaseSelectionContext), this);
+ _context_release_handler_id = g_signal_connect(
+ G_OBJECT(_selection_context), "release",
+ G_CALLBACK(&Selection::_releaseSelectionContext),
+ this);
}
} else {
_releaseContext(_selection_context);