[empathy] event-manager: use new channel group API
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] event-manager: use new channel group API
- Date: Thu, 3 May 2012 09:47:16 +0000 (UTC)
commit 7faf1b0fef56fd7a22af9ce4216f0eeedfffac26
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed May 2 11:42:59 2012 +0200
event-manager: use new channel group API
https://bugzilla.gnome.org/show_bug.cgi?id=675229
src/empathy-event-manager.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 75f2cb8..8f26feb 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]