diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-02-22 03:54:35 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-22 03:54:35 +0800 |
commit | 2e9f84f58b7b13b747881263f403249458a2e8e4 (patch) | |
tree | 213d5ad68b89adeb091a83db089b6bd915d1022c | |
parent | 5d4d9eba1c241a12304d74d3c2bea7e80a853cd6 (diff) | |
download | gsoc2013-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-- | ChangeLog | 8 | ||||
-rwxr-xr-x | lib/widgets/ephy-editable-toolbar.c | 6 |
2 files changed, 11 insertions, 3 deletions
@@ -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 |