summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmatekbd/matekbd-desktop-config.c8
-rw-r--r--libmatekbd/matekbd-indicator.c2
2 files changed, 5 insertions, 5 deletions
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) {
diff --git a/libmatekbd/matekbd-indicator.c b/libmatekbd/matekbd-indicator.c
index 6fb551d..09ab8bd 100644
--- a/libmatekbd/matekbd-indicator.c
+++ b/libmatekbd/matekbd-indicator.c
@@ -510,7 +510,7 @@ matekbd_indicator_load_group_names (const gchar ** layout_ids,
gint i, total_groups =
xkl_engine_get_num_groups (globals.engine);
globals.full_group_names =
- g_new0 (char *, total_groups + 1);
+ g_new0 (gchar *, total_groups + 1);
if (xkl_engine_get_features (globals.engine) &
XKLF_MULTIPLE_LAYOUTS_SUPPORTED) {