aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-02 21:45:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-03 16:53:35 +0800
commiteaaad920b112ab16d445ac8c2ef29c5d742a5809 (patch)
tree3b6fb922cc82e3bd4b72de3f57bb57d12f997775
parent5d02797e83cfe2779b2c9ddb25b63131cb9b281b (diff)
downloadgsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.tar
gsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.tar.gz
gsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.tar.bz2
gsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.tar.lz
gsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.tar.xz
gsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.tar.zst
gsoc2013-empathy-eaaad920b112ab16d445ac8c2ef29c5d742a5809.zip
invite-participant-dialog: stop using tp_channel_group_get_handle_owner()
https://bugzilla.gnome.org/show_bug.cgi?id=675229
-rw-r--r--src/empathy-invite-participant-dialog.c7
1 files changed, 5 insertions, 2 deletions
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);