bus/containers: Set up new connections to join the bus

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101354
This commit is contained in:
Simon McVittie 2017-06-22 17:58:42 +01:00
parent 8359321ea1
commit b0fbde54ab

View file

@ -289,7 +289,11 @@ new_connection_cb (DBusServer *server,
DBusConnection *new_connection,
void *data)
{
/* TODO: handle new connection */
BusContainerInstance *instance = data;
/* If this fails it logs a warning, so we don't need to do that */
if (!bus_context_add_incoming_connection (instance->context, new_connection))
return;
}
static const char *