diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-01 20:18:26 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-01 20:18:26 +0800 |
commit | 8aaf6865026ead0f21a233a2897a89a7de332f5d (patch) | |
tree | 1eb2237d2e0284e26130361ec8ca68922af6e971 /libempathy/empathy-contact-list.c | |
parent | b21403fed48c9b95d32a9b8968ac8f47135fd34f (diff) | |
download | gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.tar gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.tar.gz gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.tar.bz2 gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.tar.lz gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.tar.xz gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.tar.zst gsoc2013-empathy-8aaf6865026ead0f21a233a2897a89a7de332f5d.zip |
[darcs-to-svn @ Connect accounts in empathy-launcher, not in empathy-contact-list]
svn path=/trunk/; revision=14
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r-- | libempathy/empathy-contact-list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c index 02d0c174d..1a8640026 100644 --- a/libempathy/empathy-contact-list.c +++ b/libempathy/empathy-contact-list.c @@ -312,7 +312,7 @@ empathy_contact_list_new (McAccount *account) g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL); - mc = empathy_session_get_mission_control (); + mc = mission_control_new (tp_get_bus ()); if (mission_control_get_connection_status (mc, account, NULL) != 0) { /* The account is not connected, nothing to do. */ @@ -320,6 +320,7 @@ empathy_contact_list_new (McAccount *account) } tp_conn = mission_control_get_connection (mc, account, NULL); + g_object_unref (mc); g_return_val_if_fail (tp_conn != NULL, NULL); list = g_object_new (EMPATHY_TYPE_CONTACT_LIST, NULL); |