diff options
| author | Andrius Ramanauskas <knutux@gmail.com> | 2006-04-05 15:42:53 +0000 |
|---|---|---|
| committer | knutux <knutux@users.sourceforge.net> | 2006-04-05 15:42:53 +0000 |
| commit | b59c2ccc2b6732d310f813d49289a3349a0e0b79 (patch) | |
| tree | e4efe3553fac779203b5b1ed79e5d2596feb79ca /src/selection.cpp | |
| parent | Fixed comment (diff) | |
| download | inkscape-b59c2ccc2b6732d310f813d49289a3349a0e0b79.tar.gz inkscape-b59c2ccc2b6732d310f813d49289a3349a0e0b79.zip | |
Fixing bug 1462517
(bzr r428)
Diffstat (limited to 'src/selection.cpp')
| -rw-r--r-- | src/selection.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/selection.cpp b/src/selection.cpp index 0b17eefe9..702cc6594 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -98,8 +98,10 @@ void Selection::_emitChanged(bool persist_selection_context/* = false */) { 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); |
