common: fix some wrong autofree uses

g_autofree an array only g_free the first element, GStrv is the string array type.
This commit is contained in:
Corentin Noël 2018-07-09 16:43:47 +02:00 committed by Robert Ancell
parent 70fe645502
commit a6acc98371
3 changed files with 6 additions and 7 deletions

View file

@ -212,7 +212,7 @@ row_data_new (CcPanelCategory category,
const gchar *id,
const gchar *name,
const gchar *description,
gchar **keywords,
const GStrv keywords,
const gchar *icon,
CcPanelVisibility visibility)
{
@ -928,7 +928,7 @@ cc_panel_list_add_panel (CcPanelList *self,
const gchar *id,
const gchar *title,
const gchar *description,
gchar **keywords,
const GStrv keywords,
const gchar *icon,
CcPanelVisibility visibility)
{