Code

Filter effects dialog:
[inkscape.git] / src / sp-use-reference.cpp
index 8e65593c1aef7c2f10ba598941da3d5034aa7b61..e39b6b7b4e897f950c609bf60da65a0bcf3319fb 100644 (file)
@@ -49,10 +49,6 @@ SPUsePath::SPUsePath(SPObject* i_owner):SPUseReference(i_owner)
     sourceHref = NULL;
     sourceRepr = NULL;
     sourceObject = NULL;
-    new (&_modified_connection) sigc::connection();
-    new (&_delete_connection) sigc::connection();
-    new (&_changed_connection) sigc::connection();
-    new (&_transformed_connection) sigc::connection();
     _changed_connection = changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_usepath_href_changed), this)); // listening to myself, this should be virtual instead
 
     user_unlink = NULL;
@@ -67,11 +63,6 @@ SPUsePath::~SPUsePath(void)
 
     quit_listening();
     unlink();
-
-    _modified_connection.~connection();
-    _delete_connection.~connection();
-    _changed_connection.~connection();
-    _transformed_connection.~connection();
 }
 
 void