summaryrefslogtreecommitdiff
path: root/daemon/gdm-launch-environment.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-02-17 14:54:46 -0500
committerRay Strode <rstrode@redhat.com>2015-02-18 17:34:14 -0500
commitee9d69158d9e2b36b39292746d391c82dac2d34b (patch)
tree3763758c19e78554c2392d139f73f5d20620356c /daemon/gdm-launch-environment.c
parentd01169e18035d062abb8e19fa2e7262769c08777 (diff)
downloadgdm-ee9d69158d9e2b36b39292746d391c82dac2d34b.tar.gz
launch-environment: don't start dbus-daemon
Either the wrappers will start one, or gnome-session will start one, or libdbus will start one. https://bugzilla.gnome.org/show_bug.cgi?id=744764
Diffstat (limited to 'daemon/gdm-launch-environment.c')
-rw-r--r--daemon/gdm-launch-environment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index c572a41f..a11aa9fd 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -50,7 +50,6 @@
#include "gdm-settings-direct.h"
#include "gdm-settings-keys.h"
-#define DBUS_LAUNCH_COMMAND BINDIR "/dbus-launch --exit-with-session"
#define INITIAL_SETUP_USERNAME "gnome-initial-setup"
#define GNOME_SESSION_SESSIONS_PATH DATADIR "/gnome-session/sessions"
@@ -621,7 +620,7 @@ _gdm_launch_environment_set_command (GdmLaunchEnvironment *launch_environment,
const char *name)
{
g_free (launch_environment->priv->command);
- launch_environment->priv->command = g_strdup_printf ("%s %s", DBUS_LAUNCH_COMMAND, name);
+ launch_environment->priv->command = g_strdup (name);
}
static void