summaryrefslogtreecommitdiff
path: root/src/lightdm.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-08-24 09:25:50 +1200
committerRobert Ancell <robert.ancell@canonical.com>2011-08-24 09:25:50 +1200
commit6cd8a334cb1573b8e5acc32f6f8d6cf8278e56bb (patch)
treea2495c315e6d4cf64bd2f97a6401230ed372a64d /src/lightdm.c
parent84650cc157374a89fc0757e185145d0a96feef2e (diff)
downloadlightdm-6cd8a334cb1573b8e5acc32f6f8d6cf8278e56bb.tar.gz
Correctly load seat type in multi seat configuration
Diffstat (limited to 'src/lightdm.c')
-rw-r--r--src/lightdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lightdm.c b/src/lightdm.c
index 43b978ee..dcfb2d5b 100644
--- a/src/lightdm.c
+++ b/src/lightdm.c
@@ -1029,7 +1029,7 @@ main (int argc, char **argv)
g_debug ("Loading seat %s", config_section);
type = config_get_string (config_get_instance (), config_section, "type");
if (!type)
- type = config_get_string (config_get_instance (), config_section, "type");
+ type = config_get_string (config_get_instance (), "SeatDefaults", "type");
seat = seat_new (type);
g_free (type);
if (seat)