From c8d80a570cf017870f692f496a5488097356f30c Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 20 May 2013 22:30:08 -0400 Subject: daemon: use LOGIND_RUNNING instead sd_booted() It's more correct. See: https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html --- daemon/gdm-display.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'daemon/gdm-display.c') diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c index 2a621df4..5e26b529 100644 --- a/daemon/gdm-display.c +++ b/daemon/gdm-display.c @@ -33,10 +33,7 @@ #include #include -#ifdef WITH_SYSTEMD -#include -#endif - +#include "gdm-common.h" #include "gdm-display.h" #include "gdm-display-glue.h" #include "gdm-display-access-file.h" @@ -365,7 +362,7 @@ gdm_display_real_get_timed_login_details (GdmDisplay *display, * can support auto/timed login on auxilliary seats in the * systemd path. */ - if (sd_booted() > 0) { + if (LOGIND_RUNNING()) { if (g_strcmp0 (display->priv->seat_id, "seat0") != 0) { goto out; } -- cgit v1.2.1