From eaaad920b112ab16d445ac8c2ef29c5d742a5809 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 2 May 2012 15:45:44 +0200 Subject: 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 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c index d92b531ea..3e35e8374 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); -- cgit v1.2.3