diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-22 21:34:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-09 19:06:29 +0800 |
commit | e34f43e96600ce35768cd53540893c6a1bf96f2b (patch) | |
tree | 98491a8bab22d361e28fac81b6658367694d15a3 | |
parent | 6cdc040da5561c019ed87cc0a3c6ac10eb5b9223 (diff) | |
download | gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.tar gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.tar.gz gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.tar.bz2 gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.tar.lz gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.tar.xz gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.tar.zst gsoc2013-empathy-e34f43e96600ce35768cd53540893c6a1bf96f2b.zip |
libempathy-gtk/empathy-account-chooser.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 8a937769c..14ab5ebe1 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -30,6 +30,7 @@ #include <gtk/gtk.h> #include <telepathy-glib/account-manager.h> +#include <telepathy-glib/util.h> #include <libempathy/empathy-utils.h> @@ -505,9 +506,9 @@ account_manager_prepared_cb (GObject *source_object, account_chooser_account_add_foreach (account, chooser); - empathy_signal_connect_weak (account, "status-changed", + tp_g_signal_connect_object (account, "status-changed", G_CALLBACK (account_chooser_status_changed_cb), - G_OBJECT (chooser)); + chooser, 0); } g_list_free (accounts); |