summaryrefslogtreecommitdiff
path: root/capplets/keyboard/mate-keyboard-properties-xkb.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkb.c')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkb.c b/capplets/keyboard/mate-keyboard-properties-xkb.c
index c77459e8..4f795719 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkb.c
+++ b/capplets/keyboard/mate-keyboard-properties-xkb.c
@@ -70,7 +70,7 @@ set_model_text (GtkWidget * picker, gchar * value)
if (model == NULL) {
model = g_strdup(initial_config.model);
if (model == NULL)
- model = "";
+ model = g_strdup("");
}
g_snprintf (ci->name, sizeof (ci->name), "%s", model);