From: johanengelen Date: Sun, 17 Jun 2007 20:18:12 +0000 (+0000) Subject: fix double instancing of signal connectors in SPUseReference X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a00be64b8bc5140156b9187c1b89d47e4023903;p=inkscape.git fix double instancing of signal connectors in SPUseReference --- diff --git a/src/sp-use-reference.cpp b/src/sp-use-reference.cpp index 8e65593c1..e39b6b7b4 100644 --- a/src/sp-use-reference.cpp +++ b/src/sp-use-reference.cpp @@ -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