From a0a59122dab148294f199aeb8e9a85901793c435 Mon Sep 17 00:00:00 2001 From: Sorokin Alexei Date: Tue, 16 Feb 2016 03:09:46 +0300 Subject: fix some warnings --- mate-panel/panel-profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-panel/panel-profile.c') diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index b5bb9078..61c05b8c 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -1587,7 +1587,7 @@ panel_profile_toplevel_id_list_notify (GSettings *settings, toplevel_ids_strv = g_settings_get_strv (settings, key); - toplevel_ids = mate_gsettings_strv_to_gslist (toplevel_ids_strv); + toplevel_ids = mate_gsettings_strv_to_gslist ((const gchar **) toplevel_ids_strv); toplevel_ids = panel_g_slist_make_unique (toplevel_ids, (GCompareFunc) g_strcmp0, FALSE); @@ -1631,7 +1631,7 @@ panel_profile_object_id_list_update (gchar **objects) GSList *sublist = NULL, *l; GSList *object_ids; - object_ids = mate_gsettings_strv_to_gslist (objects); + object_ids = mate_gsettings_strv_to_gslist ((const gchar **) objects); object_ids = panel_g_slist_make_unique (object_ids, (GCompareFunc) g_strcmp0, FALSE); -- cgit v1.2.1