summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-01 22:07:15 +0200
committerraveit65 <[email protected]>2016-06-05 11:02:36 +0200
commit2807d57c80960eced9913d080e56962632731e32 (patch)
treea701ba63556c7f262f0db9fac65a5afd203cef37 /plugins
parentce80f542043dd031e055c7c24d6d2f9e299cb2f9 (diff)
downloadmate-settings-daemon-2807d57c80960eced9913d080e56962632731e32.tar.bz2
mate-settings-daemon-2807d57c80960eced9913d080e56962632731e32.tar.xz
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,
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xsettings/msd-xsettings-manager.c2
1 files changed, 1 insertions, 1 deletions
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;