[empathy] empathy-chat: use empathy_ensure_individual_from_tp_contact()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-chat: use empathy_ensure_individual_from_tp_contact()
- Date: Wed, 15 Feb 2012 09:52:29 +0000 (UTC)
commit fac52e2c170e94ecad67f3087a462baf9ba5f49e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Feb 10 14:53:40 2012 +0100
empathy-chat: use empathy_ensure_individual_from_tp_contact()
This ensures we'll pass the right individual ID to gnome-contacts when opening
a meta-contact.
https://bugzilla.gnome.org/show_bug.cgi?id=669676
libempathy-gtk/empathy-chat.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 5b2cca9..c5b4adf 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -4169,7 +4169,8 @@ empathy_chat_get_contact_menu (EmpathyChat *chat)
if (contact == NULL)
return NULL;
- individual = empathy_create_individual_from_tp_contact (contact);
+ individual = empathy_ensure_individual_from_tp_contact (contact);
+
if (individual == NULL)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]