aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-22 03:54:35 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-22 03:54:35 +0800
commit2e9f84f58b7b13b747881263f403249458a2e8e4 (patch)
tree213d5ad68b89adeb091a83db089b6bd915d1022c
parent5d4d9eba1c241a12304d74d3c2bea7e80a853cd6 (diff)
downloadgsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.tar
gsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.tar.gz
gsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.tar.bz2
gsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.tar.lz
gsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.tar.xz
gsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.tar.zst
gsoc2013-epiphany-2e9f84f58b7b13b747881263f403249458a2e8e4.zip
Use connect_object so the changed signal is removed from closed window.
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.
-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