summaryrefslogtreecommitdiff
path: root/telepathy-glib/group-mixin.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib/group-mixin.c')
-rw-r--r--telepathy-glib/group-mixin.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/telepathy-glib/group-mixin.c b/telepathy-glib/group-mixin.c
index 080ce4e66..21bd15766 100644
--- a/telepathy-glib/group-mixin.c
+++ b/telepathy-glib/group-mixin.c
@@ -1290,9 +1290,10 @@ emit_members_changed_signals (GObject *channel,
const GArray *remote_pending,
TpHandle actor,
TpChannelGroupChangeReason reason,
- GHashTable *details)
+ const GHashTable *details)
{
TpGroupMixin *mixin = TP_GROUP_MIXIN (channel);
+ GHashTable *details_ = (GHashTable *) details; /* Cast the pain away! */
if (DEBUGGING)
{
@@ -1326,7 +1327,7 @@ emit_members_changed_signals (GObject *channel,
tp_svc_channel_interface_group_emit_members_changed (channel, message,
add, del, local_pending, remote_pending, actor, reason);
tp_svc_channel_interface_group_emit_members_changed_detailed (channel,
- add, del, local_pending, remote_pending, details);
+ add, del, local_pending, remote_pending, details_);
if (mixin->priv->externals != NULL)
{
@@ -1339,7 +1340,7 @@ emit_members_changed_signals (GObject *channel,
tp_svc_channel_interface_group_emit_members_changed (external,
message, add, del, local_pending, remote_pending, actor, reason);
tp_svc_channel_interface_group_emit_members_changed_detailed (
- external, add, del, local_pending, remote_pending, details);
+ external, add, del, local_pending, remote_pending, details_);
}
}
}
@@ -1354,7 +1355,7 @@ change_members (GObject *obj,
TpIntSet *add_remote_pending,
TpHandle actor,
TpChannelGroupChangeReason reason,
- GHashTable *details)
+ const GHashTable *details)
{
TpGroupMixin *mixin = TP_GROUP_MIXIN (obj);
TpIntSet *new_add, *new_remove, *new_local_pending,