summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Barnett <jbarnett@stanfordalumni.org>2012-05-15 13:26:09 -0700
committerJoe Barnett <jbarnett@stanfordalumni.org>2012-05-15 13:26:09 -0700
commitafbf3fcb761133896dab44ec9694f235313ff562 (patch)
treef2fac638f8e3152de7c54e78993c76519e57eedc
parent191f78215111311fbb4b46a8e683b4889de3a49b (diff)
ugh, fix segfault in roomlist channel creation, forgot to end param list with NULL arg
-rw-r--r--src/kindling-roomlist-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kindling-roomlist-manager.c b/src/kindling-roomlist-manager.c
index 0cbf491..7084755 100644
--- a/src/kindling-roomlist-manager.c
+++ b/src/kindling-roomlist-manager.c
@@ -172,7 +172,7 @@ static gboolean kindling_roomlist_manager_get_channel(TpChannelManager *manager,
tp_channel_manager_emit_request_already_satisfied (manager, request_token, TP_EXPORTABLE_CHANNEL(g_ptr_array_index (priv->channels,0)));
return TRUE;
}
- channel = g_object_new(KINDLING_TYPE_ROOMLIST_CHANNEL, "connection", priv->conn);
+ channel = g_object_new(KINDLING_TYPE_ROOMLIST_CHANNEL, "connection", priv->conn, NULL);
g_signal_connect (channel, "closed", (GCallback) roomlist_channel_closed_cb, manager);
g_ptr_array_add(priv->channels, channel);
GSList *request_tokens = g_slist_prepend (NULL, request_token);