aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-03-24 14:00:21 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-03-24 16:34:15 +0800
commitd47742d59d3635d1dc78cc298244baaeede9f67d (patch)
treea8099be7fc578832dcf351686da502d46b9ab3ba /libempathy
parent3ef2b98db024258db0161755b35bfc2a0a577bad (diff)
downloadgsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.tar
gsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.tar.gz
gsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.tar.bz2
gsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.tar.lz
gsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.tar.xz
gsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.tar.zst
gsoc2013-empathy-d47742d59d3635d1dc78cc298244baaeede9f67d.zip
empathy-contact-manager: no need to pass object as user_data and weak_object
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact-manager.c4
1 files changed, 2 insertions, 2 deletions
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));
}