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
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 *