diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-07-31 19:11:20 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-07-31 19:11:20 +0000 |
| commit | 989abbac025a8b3349748d19a613a08586c5fdcd (patch) | |
| tree | 157b5f656c6344784aea3c498fa60199bd7d2958 /src/star-context.cpp | |
| parent | Further refactoring of EventContexts. (diff) | |
| download | inkscape-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/star-context.cpp')
| -rw-r--r-- | src/star-context.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
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) { |
