summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kindling-roomlist-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kindling-roomlist-channel.c b/src/kindling-roomlist-channel.c
index 9f3693b..a36d861 100644
--- a/src/kindling-roomlist-channel.c
+++ b/src/kindling-roomlist-channel.c
@@ -152,7 +152,7 @@ _room_list_callback (SoupSession *session, SoupMessage *msg, gpointer user_data)
keys = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL);
g_value_init (&handle_name, G_TYPE_STRING);
- g_value_take_string(&handle_name, room_name);
+ g_value_set_string(&handle_name, room_name);
g_hash_table_insert(keys, "handle-name", &handle_name);
g_value_init(&room, TP_STRUCT_TYPE_ROOM_INFO);