From 989abbac025a8b3349748d19a613a08586c5fdcd Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Wed, 31 Jul 2013 21:11:20 +0200 Subject: Fixed SPObject ctor and dtor; removed singleton.h; some smaller changes. (bzr r11608.1.110) --- src/common-context.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/common-context.cpp') 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) { -- cgit v1.2.3