summaryrefslogtreecommitdiffstats
path: root/src/selection-describer.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-20 21:02:26 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-20 21:02:26 +0000
commit8bed640644f89cefe0edca6eec1ebddbe28d61bf (patch)
tree59e8c013928db76040d11e874d13637571e24eb1 /src/selection-describer.h
parentDon't clip mask surface to mask bounding box. (diff)
downloadinkscape-8bed640644f89cefe0edca6eec1ebddbe28d61bf.tar.gz
inkscape-8bed640644f89cefe0edca6eec1ebddbe28d61bf.zip
fix leak and potential crash by disconnecting on delete
(bzr r6854)
Diffstat (limited to 'src/selection-describer.h')
-rw-r--r--src/selection-describer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/selection-describer.h b/src/selection-describer.h
index cd892bd14..91948c2fd 100644
--- a/src/selection-describer.h
+++ b/src/selection-describer.h
@@ -24,10 +24,13 @@ class MessageStack;
class SelectionDescriber : public sigc::trackable {
public:
SelectionDescriber(Inkscape::Selection *selection, MessageStack *stack);
+ ~SelectionDescriber();
private:
void _updateMessageFromSelection(Inkscape::Selection *selection);
+ sigc::connection *_selection_changed_connection;
+
MessageContext _context;
};