From d47742d59d3635d1dc78cc298244baaeede9f67d Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Wed, 24 Mar 2010 17:00:21 +1100 Subject: empathy-contact-manager: no need to pass object as user_data and weak_object --- libempathy/empathy-contact-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index 9042a2c21..61c6ad316 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -336,7 +336,7 @@ logger_favourite_contacts_get_cb (TpProxy *proxy, gpointer user_data, GObject *weak_object) { - EmpathyContactManager *manager = EMPATHY_CONTACT_MANAGER (user_data); + EmpathyContactManager *manager = EMPATHY_CONTACT_MANAGER (weak_object); if (error == NULL) { g_ptr_array_foreach ((GPtrArray *) result, @@ -355,7 +355,7 @@ logger_favourite_contacts_setup (EmpathyContactManager *manager) EmpathyContactManagerPriv *priv = GET_PRIV (manager); emp_cli_logger_call_get_favourite_contacts (priv->logger, -1, - logger_favourite_contacts_get_cb, manager, NULL, + logger_favourite_contacts_get_cb, NULL, NULL, G_OBJECT (manager)); } -- cgit v1.2.3