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/star-context.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/star-context.cpp') diff --git a/src/star-context.cpp b/src/star-context.cpp index 3601a4d49..d4dee3892 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -68,7 +68,6 @@ const std::string SPStarContext::prefsPath = "/tools/shapes/star"; SPStarContext::SPStarContext() : SPEventContext() { this->randomized = 0; - this->message_context = 0; this->rounded = 0; this->cursor_shape = cursor_star_xpm; @@ -109,10 +108,6 @@ SPStarContext::~SPStarContext() { if (this->star) { this->finishItem(); } - - if (this->message_context) { - delete this->message_context; - } } /** @@ -158,8 +153,6 @@ void SPStarContext::setup() { if (prefs->getBool("/tools/shapes/gradientdrag")) { this->enableGrDrag(); } - - this->message_context = new Inkscape::MessageContext(this->desktop->messageStack()); } void SPStarContext::set(const Inkscape::Preferences::Entry& val) { -- cgit v1.2.3