summaryrefslogtreecommitdiff
path: root/src/muc-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/muc-manager.c')
-rw-r--r--src/muc-manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/muc-manager.c b/src/muc-manager.c
index 3ed1f9d8..f9d5846b 100644
--- a/src/muc-manager.c
+++ b/src/muc-manager.c
@@ -348,17 +348,17 @@ salut_muc_manager_type_foreach_channel_class (GType type,
{
GHashTable *table = g_hash_table_new_full (g_str_hash, g_str_equal,
NULL, (GDestroyNotify) tp_g_value_slice_free);
- GValue *channel_type_value, *handle_type_value;
+ GValue *channel_type_value, *entity_type_value;
channel_type_value = tp_g_value_slice_new (G_TYPE_STRING);
/* no string value yet - we'll change it for each channel class */
g_hash_table_insert (table, TP_IFACE_CHANNEL ".ChannelType",
channel_type_value);
- handle_type_value = tp_g_value_slice_new (G_TYPE_UINT);
- g_value_set_uint (handle_type_value, TP_ENTITY_TYPE_ROOM);
+ entity_type_value = tp_g_value_slice_new (G_TYPE_UINT);
+ g_value_set_uint (entity_type_value, TP_ENTITY_TYPE_ROOM);
g_hash_table_insert (table, TP_IFACE_CHANNEL ".TargetEntityType",
- handle_type_value);
+ entity_type_value);
/* im.telepathy.v1.Channel.Type.Text */
g_value_set_static_string (channel_type_value, TP_IFACE_CHANNEL_TYPE_TEXT);