summaryrefslogtreecommitdiffstats
path: root/src/sp-object.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/sp-object.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/sp-object.cpp')
-rw-r--r--src/sp-object.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index 167d8a331..08ed9fc8d 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -128,10 +128,10 @@ SPObject::SPObject() {
this->_collection_policy = SPObject::COLLECT_WITH_PARENT;
- new (&this->_release_signal) sigc::signal<void, SPObject *>();
- new (&this->_modified_signal) sigc::signal<void, SPObject *, unsigned int>();
- new (&this->_delete_signal) sigc::signal<void, SPObject *>();
- new (&this->_position_changed_signal) sigc::signal<void, SPObject *>();
+ //new (&this->_release_signal) sigc::signal<void, SPObject *>();
+ //new (&this->_modified_signal) sigc::signal<void, SPObject *, unsigned int>();
+ //new (&this->_delete_signal) sigc::signal<void, SPObject *>();
+ //new (&this->_position_changed_signal) sigc::signal<void, SPObject *>();
this->_successor = NULL;
// FIXME: now we create style for all objects, but per SVG, only the following can have style attribute:
@@ -156,10 +156,10 @@ SPObject::~SPObject() {
this->_successor = NULL;
}
- this->_release_signal.~signal();
- this->_modified_signal.~signal();
- this->_delete_signal.~signal();
- this->_position_changed_signal.~signal();
+ //this->_release_signal.~signal();
+ //this->_modified_signal.~signal();
+ //this->_delete_signal.~signal();
+ //this->_position_changed_signal.~signal();
}
// CPPIFY: make pure virtual