aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-02 17:42:59 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-03 16:53:35 +0800
commit7faf1b0fef56fd7a22af9ce4216f0eeedfffac26 (patch)
treec93d9aab1d25ec37ac08aa5597e8a4cae80cbb1e
parenteaaad920b112ab16d445ac8c2ef29c5d742a5809 (diff)
downloadgsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.tar
gsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.tar.gz
gsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.tar.bz2
gsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.tar.lz
gsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.tar.xz
gsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.tar.zst
gsoc2013-empathy-7faf1b0fef56fd7a22af9ce4216f0eeedfffac26.zip
event-manager: use new channel group API
https://bugzilla.gnome.org/show_bug.cgi?id=675229
-rw-r--r--src/empathy-event-manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 75f2cb8ab..8f26feb66 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -815,12 +815,12 @@ display_invite_room_dialog (EventManagerApproval *approval)
GtkWidget *window = empathy_roster_window_dup ();
const gchar *invite_msg;
gchar *msg;
- TpHandle self_handle;
+ TpContact *self_contact;
EmpathyEventManagerPriv *priv = GET_PRIV (approval->manager);
- self_handle = tp_channel_group_get_self_handle (approval->main_channel);
- tp_channel_group_get_local_pending_info (approval->main_channel, self_handle,
- NULL, NULL, &invite_msg);
+ self_contact = tp_channel_group_get_self_contact (approval->main_channel);
+ tp_channel_group_get_local_pending_contact_info (approval->main_channel,
+ self_contact, NULL, NULL, &invite_msg);
if (approval->contact != NULL)
{