diff options
author | Ray Strode <rstrode@redhat.com> | 2015-02-20 10:26:06 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-02-20 10:30:54 -0500 |
commit | 6d8a510c68ac60e6788856802a02c8c24cca3dc3 (patch) | |
tree | ffb54a75d0a79a1ab78e3619ec437a6814c54a4b /daemon/gdm-x-session.c | |
parent | 462cb489d33654012c70d12c76e4de8c323cbfe0 (diff) | |
download | gdm-6d8a510c68ac60e6788856802a02c8c24cca3dc3.tar.gz |
gdm-x-session: don't hardcode path to dbus-daemon
It's not always in BINDIR, but it is always in the PATH,
so just let the shell/execvp figure it out.
https://bugzilla.gnome.org/show_bug.cgi?id=744787
Diffstat (limited to 'daemon/gdm-x-session.c')
-rw-r--r-- | daemon/gdm-x-session.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c index ee02b644..67e236ba 100644 --- a/daemon/gdm-x-session.c +++ b/daemon/gdm-x-session.c @@ -40,8 +40,6 @@ #define DISPLAY_FILENO (STDERR_FILENO + 1) #define BUS_ADDRESS_FILENO (DISPLAY_FILENO + 1) -#define DBUS_DAEMON BINDIR "/dbus-daemon" - typedef struct { GdmSettings *settings; @@ -392,7 +390,7 @@ spawn_bus (State *state, bus_address_fd_string = g_strdup_printf ("%d", BUS_ADDRESS_FILENO); - g_ptr_array_add (arguments, DBUS_DAEMON); + g_ptr_array_add (arguments, "dbus-daemon"); g_ptr_array_add (arguments, "--print-address"); g_ptr_array_add (arguments, bus_address_fd_string); |