summaryrefslogtreecommitdiffstats
path: root/src/common-context.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-07-31 19:11:20 +0000
committerMarkus Engel <markus.engel@tum.de>2013-07-31 19:11:20 +0000
commit989abbac025a8b3349748d19a613a08586c5fdcd (patch)
tree157b5f656c6344784aea3c498fa60199bd7d2958 /src/common-context.cpp
parentFurther refactoring of EventContexts. (diff)
downloadinkscape-989abbac025a8b3349748d19a613a08586c5fdcd.tar.gz
inkscape-989abbac025a8b3349748d19a613a08586c5fdcd.zip
Fixed SPObject ctor and dtor; removed singleton.h; some smaller changes.
(bzr r11608.1.110)
Diffstat (limited to 'src/common-context.cpp')
-rw-r--r--src/common-context.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common-context.cpp b/src/common-context.cpp
index e6b82cf82..fb984cbf1 100644
--- a/src/common-context.cpp
+++ b/src/common-context.cpp
@@ -20,7 +20,6 @@
#define DRAG_MAX 1.0
SPCommonContext::SPCommonContext() : SPEventContext() {
- this->_message_context = 0;
this->tremor = 0;
this->usetilt = 0;
this->is_drawing = false;
@@ -96,13 +95,6 @@ SPCommonContext::~SPCommonContext() {
sp_canvas_item_destroy(this->currentshape);
this->currentshape = 0;
}
-
- if (this->_message_context) {
- delete this->_message_context;
- this->_message_context = 0;
- }
-
- //G_OBJECT_CLASS(sp_common_context_parent_class)->dispose(object);
}
void SPCommonContext::set(const Inkscape::Preferences::Entry& value) {