summaryrefslogtreecommitdiff
path: root/mate-panel/panel-profile.c
diff options
context:
space:
mode:
authorSorokin Alexei <[email protected]>2016-02-16 03:09:46 +0300
committerWolfgang Ulbrich <[email protected]>2016-02-21 11:51:49 +0100
commita0a59122dab148294f199aeb8e9a85901793c435 (patch)
tree5f7bb8e68a7cfdfc7051cfad5b0702de0f5748c6 /mate-panel/panel-profile.c
parent44a6c2f7e478fce00cc987bb76ac519704c13da2 (diff)
downloadmate-panel-a0a59122dab148294f199aeb8e9a85901793c435.tar.bz2
mate-panel-a0a59122dab148294f199aeb8e9a85901793c435.tar.xz
fix some warnings
Diffstat (limited to 'mate-panel/panel-profile.c')
-rw-r--r--mate-panel/panel-profile.c4
1 files changed, 2 insertions, 2 deletions
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);