summaryrefslogtreecommitdiffstats
path: root/src/star-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/star-context.cpp')
-rw-r--r--src/star-context.cpp7
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) {