aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-22 21:34:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-09 19:06:29 +0800
commitb57f4e748f8f631d56786d0c4856ab74bdfc5ff5 (patch)
tree904f9b7c0be47ca4e81e8d5c22a19e5331bd1d19 /libempathy-gtk
parent999e2a590caa9b013621902ea000a3e16be54b32 (diff)
downloadgsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.tar
gsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.tar.gz
gsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.tar.bz2
gsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.tar.lz
gsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.tar.xz
gsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.tar.zst
gsoc2013-empathy-b57f4e748f8f631d56786d0c4856ab74bdfc5ff5.zip
libempathy-gtk/empathy-presence-chooser.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 7e2e89fb6..11634b255 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -856,9 +856,9 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser)
/* Create the not-favorite icon */
priv->not_favorite_pixbuf = create_not_favorite_pixbuf ();
- empathy_signal_connect_weak (gtk_icon_theme_get_default (), "changed",
+ tp_g_signal_connect_object (gtk_icon_theme_get_default (), "changed",
G_CALLBACK (icon_theme_changed_cb),
- G_OBJECT (chooser));
+ chooser, 0);
presence_chooser_create_model (chooser);
@@ -921,28 +921,28 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser)
G_CALLBACK (presence_chooser_presence_changed_cb),
chooser);
- empathy_signal_connect_weak (priv->account_manager, "account-validity-changed",
+ tp_g_signal_connect_object (priv->account_manager, "account-validity-changed",
G_CALLBACK (presence_chooser_account_manager_account_validity_changed_cb),
- G_OBJECT (chooser));
- empathy_signal_connect_weak (priv->account_manager, "account-removed",
+ chooser, 0);
+ tp_g_signal_connect_object (priv->account_manager, "account-removed",
G_CALLBACK (presence_chooser_account_manager_account_changed_cb),
- G_OBJECT (chooser));
- empathy_signal_connect_weak (priv->account_manager, "account-enabled",
+ chooser, 0);
+ tp_g_signal_connect_object (priv->account_manager, "account-enabled",
G_CALLBACK (presence_chooser_account_manager_account_changed_cb),
- G_OBJECT (chooser));
- empathy_signal_connect_weak (priv->account_manager, "account-disabled",
+ chooser, 0);
+ tp_g_signal_connect_object (priv->account_manager, "account-disabled",
G_CALLBACK (presence_chooser_account_manager_account_changed_cb),
- G_OBJECT (chooser));
+ chooser, 0);
/* FIXME: this string sucks */
gtk_widget_set_tooltip_text (GTK_WIDGET (chooser),
_("Set your presence and current status"));
priv->connectivity = empathy_connectivity_dup_singleton ();
- empathy_signal_connect_weak (priv->connectivity,
+ tp_g_signal_connect_object (priv->connectivity,
"state-change",
G_CALLBACK (presence_chooser_connectivity_state_change),
- G_OBJECT (chooser));
+ chooser, 0);
presence_chooser_update_sensitivity (chooser);
}