summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-settings-daemon/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-settings-daemon/main.c b/mate-settings-daemon/main.c
index 95037cc..77de96f 100644
--- a/mate-settings-daemon/main.c
+++ b/mate-settings-daemon/main.c
@@ -445,10 +445,10 @@ parse_args (int *argc, char ***argv)
}
static void debug_changed (GSettings *settings,
- gchar *key G_GNUC_UNUSED,
+ gchar *key,
gpointer user_data G_GNUC_UNUSED)
{
- debug = g_settings_get_boolean (settings, DEBUG_KEY);
+ debug = g_settings_get_boolean (settings, key);
if (debug) {
g_warning ("Enable DEBUG");
g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);