summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-15 15:36:06 +0200
committerraveit65 <[email protected]>2020-08-15 18:24:10 +0200
commit42b2d42469698571767b4b28f66a0910f6441ea3 (patch)
tree20163762c8c9e887152e1edd70e7eb018638e47f
parent6a689d0ef710108ce3186f25f79b02b9df56f006 (diff)
downloadmate-settings-daemon-42b2d42469698571767b4b28f66a0910f6441ea3.tar.bz2
mate-settings-daemon-42b2d42469698571767b4b28f66a0910f6441ea3.tar.xz
main: Do not override detailed_signal for debugging
-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);