summaryrefslogtreecommitdiff
path: root/telepathy-glib/group-mixin.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2008-12-22 21:24:15 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2009-01-07 18:57:49 +0000
commit29057b996fc1e48c5ef80cf02e7cf26dfa0aeac8 (patch)
tree49a006d31e2f31c4ed1b5c8f3e58210df38629b7 /telepathy-glib/group-mixin.c
parent55c3401cbcf4e017812cb54371b4e8286a2d08e1 (diff)
downloadtelepathy-glib-29057b996fc1e48c5ef80cf02e7cf26dfa0aeac8.tar.gz
Group: keep details dict const until the bindings won't let us
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,