From 6d428967e2fbf159ad0ffe3af8587d145c2bdd42 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 5 Nov 2006 00:53:05 +0000 Subject: [PATCH] fix crash reported by Vladimir Savic --- src/dialogs/sp-attribute-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/sp-attribute-widget.cpp b/src/dialogs/sp-attribute-widget.cpp index 9bc40e86c..1c450cff5 100644 --- a/src/dialogs/sp-attribute-widget.cpp +++ b/src/dialogs/sp-attribute-widget.cpp @@ -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); -- 2.30.2