aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rwxr-xr-xlib/widgets/ephy-editable-toolbar.c6
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index af8456d21..6544ec8c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org>
+ * lib/widgets/ephy-editable-toolbar.c:
+ (ephy_editable_toolbar_set_group):
+
+ Use connect_object so the changed signal is removed
+ from closed window.
+
+2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org>
+
* src/toolbar.c: (get_bookmark_action), (toolbar_get_action):
Dont create duped actions, fix crash on exit
diff --git a/lib/widgets/ephy-editable-toolbar.c b/lib/widgets/ephy-editable-toolbar.c
index fd6dd3d4c..eddb39bd9 100755
--- a/lib/widgets/ephy-editable-toolbar.c
+++ b/lib/widgets/ephy-editable-toolbar.c
@@ -511,9 +511,9 @@ ephy_editable_toolbar_set_group (EphyEditableToolbar *t, EphyToolbarsGroup *grou
t->priv->group = group;
- g_signal_connect (group, "changed",
- G_CALLBACK (group_changed_cb),
- t);
+ g_signal_connect_object (group, "changed",
+ G_CALLBACK (group_changed_cb),
+ t, 0);
}
static void