From 2807d57c80960eced9913d080e56962632731e32 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 1 Jun 2016 22:07:15 +0200 Subject: fix build warning -Wdiscarded-qualifiers msd-xsettings-manager.c: In function 'xsettings_callback': msd-xsettings-manager.c:600:37: warning: passing argument 2 of 'xft_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] xft_callback (NULL, key, manager); ^~~ msd-xsettings-manager.c:498:1: note: expected 'gchar * {aka char *}' but argument is of type 'const char *' xft_callback (GSettings *gsettings, --- plugins/xsettings/msd-xsettings-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c index a4d4153..5e2e585 100644 --- a/plugins/xsettings/msd-xsettings-manager.c +++ b/plugins/xsettings/msd-xsettings-manager.c @@ -496,7 +496,7 @@ update_xft_settings (MateXSettingsManager *manager) static void xft_callback (GSettings *gsettings, - gchar *key, + const gchar *key, MateXSettingsManager *manager) { int i; -- cgit v1.2.1