[empathy/next] Adapt for group-members-changed giving details in a GVariant
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/next] Adapt for group-members-changed giving details in a GVariant
- Date: Tue, 8 Apr 2014 19:30:19 +0000 (UTC)
commit ccd8ae9e03dc644ad456320967b10aea5e9b766a
Author: Simon McVittie <simon mcvittie collabora co uk>
Date: Mon Apr 7 13:07:14 2014 +0100
Adapt for group-members-changed giving details in a GVariant
libempathy-gtk/empathy-individual-store-channel.c | 2 +-
libempathy/empathy-tp-chat.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-store-channel.c
b/libempathy-gtk/empathy-individual-store-channel.c
index a315740..d37950a 100644
--- a/libempathy-gtk/empathy-individual-store-channel.c
+++ b/libempathy-gtk/empathy-individual-store-channel.c
@@ -117,7 +117,7 @@ group_members_changed_cb (TpChannel *channel,
GPtrArray *local_pending,
GPtrArray *remote_pending,
TpContact *actor,
- GHashTable *details,
+ GVariant *details,
gpointer user_data)
{
EmpathyIndividualStoreChannel *self = EMPATHY_INDIVIDUAL_STORE_CHANNEL (
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 60720fd..801c02b 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -834,7 +834,7 @@ tp_chat_group_members_changed_cb (TpChannel *channel,
GPtrArray *local_pending,
GPtrArray *remote_pending,
TpContact *actor,
- GHashTable *details,
+ GVariant *details,
EmpathyTpChat *self)
{
EmpathyContact *actor_contact = NULL;
@@ -842,8 +842,8 @@ tp_chat_group_members_changed_cb (TpChannel *channel,
TpChannelGroupChangeReason reason;
const gchar *message;
- reason = tp_asv_get_uint32 (details, "change-reason", NULL);
- message = tp_asv_get_string (details, "message");
+ reason = tp_vardict_get_uint32 (details, "change-reason", NULL);
+ message = tp_vardict_get_string (details, "message");
/* Contact renamed */
if (reason == TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]