mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 01:48:00 +02:00
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:
parent
8359321ea1
commit
b0fbde54ab
1 changed files with 5 additions and 1 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue