diff options
-rw-r--r-- | common/gdm-common.c | 2 | ||||
-rw-r--r-- | libgdm/gdm-user-switching.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/common/gdm-common.c b/common/gdm-common.c index 4017313b..effd4bc7 100644 --- a/common/gdm-common.c +++ b/common/gdm-common.c @@ -846,6 +846,8 @@ gdm_goto_login_session (GError **error) #ifdef WITH_CONSOLE_KIT return goto_login_session_for_ck (connection, error); +#else + return FALSE; #endif } diff --git a/libgdm/gdm-user-switching.c b/libgdm/gdm-user-switching.c index ebfef1c3..a195d052 100644 --- a/libgdm/gdm-user-switching.c +++ b/libgdm/gdm-user-switching.c @@ -593,5 +593,7 @@ gdm_goto_login_session_sync (GCancellable *cancellable, g_object_unref (connection); return retval; +#else + return FALSE; #endif } |