Code

fix crash reported by Vladimir Savic
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 5 Nov 2006 00:53:05 +0000 (00:53 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 5 Nov 2006 00:53:05 +0000 (00:53 +0000)
src/dialogs/sp-attribute-widget.cpp

index 9bc40e86c75067a4da290f09294fe04a60709e9f..1c450cff54137453c7e1b102c43d3941ac5749ef 100644 (file)
@@ -577,7 +577,7 @@ sp_attribute_table_set_object ( SPAttributeTable *spat,
         spat->num_attr = num_attr;
 
         spat->modified_connection = object->connectModified(sigc::bind<2>(sigc::ptr_fun(&sp_attribute_table_object_modified), spat));
-        spat->modified_connection = object->connectRelease(sigc::bind<1>(sigc::ptr_fun(&sp_attribute_table_object_release), spat));
+        spat->release_connection = object->connectRelease(sigc::bind<1>(sigc::ptr_fun(&sp_attribute_table_object_release), spat));
 
         /* Create table */
         spat->table = gtk_table_new (num_attr, 2, FALSE);