diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-05-10 18:36:28 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-05-26 17:17:47 +0800 |
commit | b8ff75d21c1be60e6df472a35599a9e22046a92b (patch) | |
tree | fcaa7453e65ac310e4a3c0f854bcb8b588722863 /src/empathy-call-window.c | |
parent | 696bd076bbd431aad122c66cadfb6ec3f5ff1762 (diff) | |
download | gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.tar gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.tar.gz gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.tar.bz2 gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.tar.lz gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.tar.xz gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.tar.zst gsoc2013-empathy-b8ff75d21c1be60e6df472a35599a9e22046a92b.zip |
Port to new EmpathyTpContactFactory API
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 598f483ab..40c461488 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1257,7 +1257,7 @@ contact_avatar_changed_cb (EmpathyContact *contact, } static void -empathy_call_window_got_self_contact_cb (EmpathyTpContactFactory *factory, +empathy_call_window_got_self_contact_cb (TpConnection *connection, EmpathyContact *contact, const GError *error, gpointer user_data, GObject *weak_object) { @@ -1282,7 +1282,6 @@ empathy_call_window_setup_avatars (EmpathyCallWindow *self, if (priv->contact != NULL) { TpConnection *connection; - EmpathyTpContactFactory *factory; set_window_title (self); @@ -1294,12 +1293,9 @@ empathy_call_window_setup_avatars (EmpathyCallWindow *self, /* Retreiving the self avatar */ connection = empathy_contact_get_connection (priv->contact); - factory = empathy_tp_contact_factory_dup_singleton (connection); - empathy_tp_contact_factory_get_from_handle (factory, + empathy_tp_contact_factory_get_from_handle (connection, tp_connection_get_self_handle (connection), empathy_call_window_got_self_contact_cb, self, NULL, G_OBJECT (self)); - - g_object_unref (factory); } else { |