diff options
author | Sergey V. Udaltsov <svu@gnome.org> | 2010-10-04 09:46:49 +0100 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2010-10-04 23:02:28 +0100 |
commit | 40eb8328020ce2834983b240feee67963b5bdcb2 (patch) | |
tree | 7f7cff31ff36735413fc27d327224dadb83a3834 /libgnomekbd/gkbd-desktop-config.c | |
parent | 9e5bb89dc202fb60c8ebafd8d630e0b7fde30754 (diff) | |
download | libgnomekbd-40eb8328020ce2834983b240feee67963b5bdcb2.tar.gz |
code cleanup
some strv functions are provided, hopefully will be in glib one day
Diffstat (limited to 'libgnomekbd/gkbd-desktop-config.c')
-rw-r--r-- | libgnomekbd/gkbd-desktop-config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libgnomekbd/gkbd-desktop-config.c b/libgnomekbd/gkbd-desktop-config.c index ac5ef41..b0b0ff3 100644 --- a/libgnomekbd/gkbd-desktop-config.c +++ b/libgnomekbd/gkbd-desktop-config.c @@ -70,13 +70,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) { |