aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-spinner-action.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-08 20:53:15 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-08 20:53:15 +0800
commit161c9b511dce174be1654400ac2f116d64a32747 (patch)
tree40e27f254f3847e3461932c627e374ca7fa8041e /src/ephy-spinner-action.c
parentfd8fbb88aca38f094ef80e223abfa17e8505e624 (diff)
downloadgsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.tar
gsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.tar.gz
gsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.tar.bz2
gsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.tar.lz
gsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.tar.xz
gsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.tar.zst
gsoc2013-epiphany-161c9b511dce174be1654400ac2f116d64a32747.zip
Fix some i18n problems
2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> * data/starthere/index.xml.in: Fix some i18n problems * src/ephy-spinner-action.c: (item_parent_set_cb), (connect_proxy): Use connect object to avoid signals on dead widgets.
Diffstat (limited to 'src/ephy-spinner-action.c')
-rw-r--r--src/ephy-spinner-action.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-spinner-action.c b/src/ephy-spinner-action.c
index 1ad90ec64..5b0ef5ed8 100644
--- a/src/ephy-spinner-action.c
+++ b/src/ephy-spinner-action.c
@@ -124,9 +124,9 @@ item_parent_set_cb (GtkWidget *item, GtkWidget *previous_parent)
toolbar = EGG_TOOLBAR (item->parent);
- g_signal_connect (toolbar, "style_changed",
- G_CALLBACK (toolbar_style_sync),
- item);
+ g_signal_connect_object (toolbar, "style_changed",
+ G_CALLBACK (toolbar_style_sync),
+ item, 0);
style = egg_toolbar_get_style (toolbar);
toolbar_style_sync (toolbar, style, item);
@@ -138,9 +138,9 @@ connect_proxy (EggAction *action, GtkWidget *proxy)
g_signal_connect_object (action, "notify::throbbing",
G_CALLBACK (ephy_spinner_action_sync_throbbing),
proxy, 0);
- g_signal_connect (proxy, "parent_set",
- G_CALLBACK (item_parent_set_cb),
- NULL);
+ g_signal_connect_object (proxy, "parent_set",
+ G_CALLBACK (item_parent_set_cb),
+ proxy, 0);
(* EGG_ACTION_CLASS (parent_class)->connect_proxy) (action, proxy);
}