summaryrefslogtreecommitdiff
path: root/daemon/gdm-local-display-factory.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2022-08-19 13:55:06 -0400
committerRay Strode <rstrode@redhat.com>2022-08-19 13:55:06 -0400
commit6247ca134fb84a609915dfc627c8b3330a681cb5 (patch)
tree1037fae52d5f022ccb731c6a6f5624e6bc46a995 /daemon/gdm-local-display-factory.c
parent6bc9f0cd5595c3839da59a32a6dd543bd452a7d6 (diff)
downloadgdm-6247ca134fb84a609915dfc627c8b3330a681cb5.tar.gz
local-display-factory: Fix typo in supported session types
There's a typo "tyes" instead of "types" leading to the wrong supported session types getting set in some cases. This commit fixes that. Closes https://gitlab.gnome.org/GNOME/gdm/-/issues/808
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 b3335cd4..8c912cc6 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -402,7 +402,7 @@ gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *fact
display = gdm_local_display_new ();
g_object_set (G_OBJECT (display),
"session-type", session_types[0],
- "supported-session-tyes", session_types,
+ "supported-session-types", session_types,
NULL);
is_initial = TRUE;
}