From c6f92af6d0babc25b16c448d62b79c6e20db9e16 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 23:44:20 +0200 Subject: Use gchars in several functions Taken from libgnomelbd, commit: 40eb8328020ce2834983b240feee67963b5bdcb2 from: Sergey V. Udaltsov --- libmatekbd/matekbd-desktop-config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libmatekbd/matekbd-desktop-config.c') diff --git a/libmatekbd/matekbd-desktop-config.c b/libmatekbd/matekbd-desktop-config.c index 806f1e5..1c6837d 100644 --- a/libmatekbd/matekbd-desktop-config.c +++ b/libmatekbd/matekbd-desktop-config.c @@ -68,13 +68,13 @@ static gboolean pv = variant_ids; total_layouts = g_strv_length ((char **) layout_ids); sld = *short_layout_descriptions = - g_new0 (char *, total_layouts + 1); + g_new0 (gchar *, total_layouts + 1); lld = *long_layout_descriptions = - g_new0 (char *, total_layouts + 1); + g_new0 (gchar *, total_layouts + 1); svd = *short_variant_descriptions = - g_new0 (char *, total_layouts + 1); + g_new0 (gchar *, total_layouts + 1); lvd = *long_variant_descriptions = - g_new0 (char *, total_layouts + 1); + g_new0 (gchar *, total_layouts + 1); while (pl != NULL && *pl != NULL) { -- cgit v1.2.1