gchar **groups, **i;
GList *config_sections = NULL;
+ /* Keep this so it won't break existing config files using old [SeatDefaults] */
+ config_sections = g_list_append (config_sections, g_strdup ("SeatDefaults"));
+
groups = config_get_groups (config_get_instance ());
for (i = groups; *i; i++)
{
for (link = sections; link; link = link->next)
{
const gchar *section = link->data;
- g_debug ("Loading properties from config section %s", section);
keys = config_get_keys (config_get_instance (), section);
+
+ /* Keep this until [SeatDefaults] support is definitely removed */
+ if (strcmp (section, "SeatDefaults") == 0 && keys)
+ l_warning (seat, "[SeatDefaults] is deprecated and won't be supported in the future. Use [Seat:*] instead!");
+
+ l_debug (seat, "Loading properties from config section %s", section);
for (i = 0; keys && keys[i]; i++)
{
gchar *value = config_get_string (config_get_instance (), section, keys[i]);