summaryrefslogtreecommitdiffstats
path: root/src/spray-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/spray-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/spray-context.cpp')
-rw-r--r--src/spray-context.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/spray-context.cpp b/src/spray-context.cpp
index c96df20b2..8256d6861 100644
--- a/src/spray-context.cpp
+++ b/src/spray-context.cpp
@@ -131,7 +131,6 @@ static void sp_spray_scale_rel(Geom::Point c, SPDesktop */*desktop*/, SPItem *it
SPSprayContext::SPSprayContext() : SPEventContext() {
this->usetilt = 0;
- this->message_context = 0;
this->dilate_area = 0;
this->usetext = false;
this->population = 0;
@@ -169,10 +168,6 @@ SPSprayContext::~SPSprayContext() {
sp_canvas_item_destroy(this->dilate_area);
this->dilate_area = NULL;
}
-
- if (this->message_context) {
- delete this->message_context;
- }
}
static bool is_transform_modes(gint mode)
@@ -237,8 +232,6 @@ void SPSprayContext::setup() {
this->is_drawing = false;
- this->message_context = new Inkscape::MessageContext((this->desktop)->messageStack());
-
sp_event_context_read(this, "distrib");
sp_event_context_read(this, "width");
sp_event_context_read(this, "ratio");