Comment 4 for bug 1348891

Revision history for this message
Liam P. White (liampwhite) wrote :

@Tomasz: can you try this patch to see if it resolves your issue?

=== modified file 'src/style.cpp'
--- src/style.cpp 2014-06-10 09:29:58 +0000
+++ src/style.cpp 2014-07-28 16:38:56 +0000
@@ -227,11 +227,6 @@
         document = document_in;
     }

- new (&release_connection) sigc::connection();
- new (&filter_modified_connection) sigc::connection();
- new (&fill_ps_modified_connection) sigc::connection();
- new (&stroke_ps_modified_connection) sigc::connection();
-
     // 'font' shorthand requires access to included properties.
     font.setStylePointer( this );

@@ -431,7 +426,6 @@

     // Remove connections
     release_connection.disconnect();
- release_connection.~connection();

     // The following shoud be moved into SPIPaint and SPIFilter
     if (fill.value.href) {
@@ -446,12 +440,7 @@
         filter_modified_connection.disconnect();
     }

- filter_modified_connection.~connection();
- fill_ps_modified_connection.~connection();
- stroke_ps_modified_connection.~connection();
-
     _properties.clear();
- //_propmap.clear();

     // std::cout << "SPStyle::~SPstyle(): Exit\n" << std::endl;
 }