summaryrefslogtreecommitdiff
path: root/daemon/gdm-local-display-factory.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2021-02-25 12:41:36 -0500
committerRay Strode <rstrode@redhat.com>2021-02-25 14:35:46 -0500
commitde7df6f24aee51fe89bab096f784e22578a83cbb (patch)
tree02485c8ea05addd9b2380138461e62e9e5db94e8 /daemon/gdm-local-display-factory.c
parent40a0aa7b4a8aac75ad4b12ff3637d43105505472 (diff)
downloadgdm-de7df6f24aee51fe89bab096f784e22578a83cbb.tar.gz
daemon,common,libgdm: Drop use of sd_seat_can_multi_session
It's deprecated now, and always returns TRUE.
Diffstat (limited to 'daemon/gdm-local-display-factory.c')
-rw-r--r--daemon/gdm-local-display-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index e7cafeb1..d0be782c 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -473,7 +473,7 @@ create_display (GdmLocalDisplayFactory *factory,
session_type? : "X11", seat_id);
store = gdm_display_factory_get_display_store (GDM_DISPLAY_FACTORY (factory));
- if (sd_seat_can_multi_session (seat_id))
+ if (g_strcmp0 (seat_id, "seat0") == 0)
display = gdm_display_store_find (store, lookup_prepared_display_by_seat_id, (gpointer) seat_id);
else
display = gdm_display_store_find (store, lookup_by_seat_id, (gpointer) seat_id);