[gnome-builder/wip/chergert/multi-process] app: connect to UI DBus server as authentication client
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/multi-process] app: connect to UI DBus server as authentication client
- Date: Wed, 21 Oct 2015 01:30:59 +0000 (UTC)
commit d3d371c3fab68f7b0a9cf07735d5fd6d9a31e745
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 20 18:25:21 2015 -0700
app: connect to UI DBus server as authentication client
The parent process needs credentials from our side, so ensure that we send
them during socket setup.
src/app/gb-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/app/gb-application.c b/src/app/gb-application.c
index 6108d0d..2351a6e 100644
--- a/src/app/gb-application.c
+++ b/src/app/gb-application.c
@@ -74,7 +74,7 @@ gb_application_load_worker (GbApplication *self)
IDE_TRACE_MSG ("Connecting to %s", self->dbus_address);
connection = g_dbus_connection_new_for_address_sync (self->dbus_address,
- G_DBUS_CONNECTION_FLAGS_NONE,
+ G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT,
NULL, NULL, &error);
if (error != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]