diff options
author | Fabio Erculiani <[email protected]> | 2013-07-10 14:50:24 +0200 |
---|---|---|
committer | Fabio Erculiani <[email protected]> | 2013-07-10 16:32:53 +0200 |
commit | 4213aa6562ef0ee8f19f8cd111a739a0febaa4e6 (patch) | |
tree | 548d0db7a72b7031ffd4676826707f8be01ff467 /mate-session/main.c | |
parent | da13489e6b1f6f015a684c9b2c0d30297485952a (diff) | |
download | mate-session-manager-4213aa6562ef0ee8f19f8cd111a739a0febaa4e6.tar.bz2 mate-session-manager-4213aa6562ef0ee8f19f8cd111a739a0febaa4e6.tar.xz |
Use LOGIND_RUNNING() rather than sd_booted()
Diffstat (limited to 'mate-session/main.c')
-rw-r--r-- | mate-session/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-session/main.c b/mate-session/main.c index 4dd8fd1..9bd8219 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -293,7 +293,7 @@ static void maybe_load_saved_session_apps(GsmManager* manager) gboolean is_login; #ifdef HAVE_SYSTEMD - if (sd_booted() > 0) { + if (LOGIND_RUNNING()) { systemd = gsm_get_systemd(); session_type = gsm_systemd_get_current_session_type(systemd); is_login = g_strcmp0 (session_type, GSM_SYSTEMD_SESSION_TYPE_LOGIN_WINDOW) == 0; |