[empathy] invite-participant-dialog: stop using tp_channel_group_get_handle_owner()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] invite-participant-dialog: stop using tp_channel_group_get_handle_owner()
- Date: Thu, 3 May 2012 09:47:11 +0000 (UTC)
commit eaaad920b112ab16d445ac8c2ef29c5d742a5809
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed May 2 15:45:44 2012 +0200
invite-participant-dialog: stop using tp_channel_group_get_handle_owner()
https://bugzilla.gnome.org/show_bug.cgi?id=675229
src/empathy-invite-participant-dialog.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index d92b531..3e35e83 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -151,11 +151,14 @@ filter_individual (EmpathyContactChooser *chooser,
{
EmpathyContact *member = l->data;
TpHandle handle;
+ TpContact *owner;
/* Try to get the non-channel specific handle. */
- handle = tp_channel_group_get_handle_owner (
+ owner = tp_channel_group_get_contact_owner (
TP_CHANNEL (self->priv->tp_chat),
- empathy_contact_get_handle (member));
+ empathy_contact_get_tp_contact (member));
+ handle = tp_contact_get_handle (owner);
+
if (handle == 0)
handle = empathy_contact_get_handle (member);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]