diff options
Diffstat (limited to 'capplets/keyboard')
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkblt.c | 2 | ||||
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbltadd.c | 2 | ||||
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbot.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkblt.c b/capplets/keyboard/mate-keyboard-properties-xkblt.c index 115ffac0..b5ee38e7 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkblt.c +++ b/capplets/keyboard/mate-keyboard-properties-xkblt.c @@ -102,7 +102,7 @@ xkb_layouts_get_selected_list (void) if (retval == NULL) { if (initial_config.layouts_variants != NULL) { for (i = 0; initial_config.layouts_variants[i] != NULL; i++) - retval = + retval = g_slist_prepend (retval, g_strdup (initial_config.layouts_variants[i])); } retval = g_slist_reverse (retval); diff --git a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c index 6b54fff2..8499314a 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c @@ -408,7 +408,7 @@ xkl_layout_chooser_add_default_switcher_if_necessary (GSList * (layouts_list_strv, options_list_strv, &was_appended); if (was_appended) { xkb_options_set_selected_list (options_list); - + } clear_xkb_elements_list (options_list); } diff --git a/capplets/keyboard/mate-keyboard-properties-xkbot.c b/capplets/keyboard/mate-keyboard-properties-xkbot.c index e67fcf86..cc161b62 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbot.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbot.c @@ -63,7 +63,7 @@ xkb_options_get_selected_list (void) if (retval == NULL) { if (initial_config.options != NULL) { for (i = 0; initial_config.options[i] != NULL; i++) - retval = + retval = g_slist_prepend (retval, g_strdup (initial_config.options[i])); } retval = g_slist_reverse (retval); |