[gnome-builder] 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] app: connect to UI DBus server as authentication client
- Date: Fri, 30 Oct 2015 21:17:36 +0000 (UTC)
commit 9b82de54a117361aa9f83f3d0ab015fad74c85b2
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]