diff options
| author | Robert Ancell <robert.ancell@canonical.com> | 2015-05-18 15:48:35 +1200 |
|---|---|---|
| committer | Robert Ancell <robert.ancell@canonical.com> | 2015-05-18 15:48:35 +1200 |
| commit | c37e435dcfd8336f38f907994b879174db5ee55f (patch) | |
| tree | 45e6946a2485dc71b5e2e975ed41dfeb5134067a /common | |
| parent | 575c10bf301f156f8e23f6288d4ad3b4cfed32f3 (diff) | |
Fix configuration loading with new [Seat:*] section
Diffstat (limited to 'common')
| -rw-r--r-- | common/configuration.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/configuration.c b/common/configuration.c index 1ef64490..f456faaf 100644 --- a/common/configuration.c +++ b/common/configuration.c @@ -56,6 +56,9 @@ config_load_from_file (Configuration *config, const gchar *path, GError **error) gchar **keys; int j; + if (strcmp (groups[i], "SeatDefaults") == 0) + g_printerr ("Configuration file %s contains a deprecated [SeatDefaults] section, use [Seat:*] instead\n", path); + keys = g_key_file_get_keys (key_file, groups[i], NULL, error); if (!keys) break; |
