summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-02-17 14:54:46 -0500
committerRay Strode <rstrode@redhat.com>2015-02-17 23:48:06 -0500
commit0064d9e0df9d4ab62cddd5a61c6f85a05006114f (patch)
tree5acd4f33b0c31a5bdc06d6d92c1a9ee31e7cde58
parent5634fb434ac11f43dc5fe5799650a29d2c0198b6 (diff)
downloadgdm-0064d9e0df9d4ab62cddd5a61c6f85a05006114f.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.
-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