The entries of the array are "gchar *" and not "gchar **"
CID #1427091
CID #1427120
const gchar **names;
values = g_malloc0 (sizeof (GValue) * n_params);
- names = g_malloc0 (sizeof (gchar **) * n_params);
+ names = g_malloc0 (sizeof (gchar *) * n_params);
for (i = 0; i < n_params; i++) {
values[i] = params[i].value;
GValue *values;
const gchar **names;
values = g_malloc0 (sizeof (GValue) * n_specs);
- names = g_malloc0 (sizeof (gchar **) * n_specs);
+ names = g_malloc0 (sizeof (gchar *) * n_specs);
for (i = 0; i < n_params; i++) {
values[i] = params[i].value;