[empathy] empathy-contact-manager: no need to pass object as user_data and weak_object
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-contact-manager: no need to pass object as user_data and weak_object
- Date: Wed, 24 Mar 2010 08:34:33 +0000 (UTC)
commit d47742d59d3635d1dc78cc298244baaeede9f67d
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Wed Mar 24 17:00:21 2010 +1100
empathy-contact-manager: no need to pass object as user_data and weak_object
libempathy/empathy-contact-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 9042a2c..61c6ad3 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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]