summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon/main.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-01-06 14:48:16 +0000
committerBastien Nocera <hadess@hadess.net>2012-01-06 14:48:16 +0000
commitf09ef1ae1c3cebdf793ded453b788d414c2f7cf8 (patch)
treed345ff563bdcf758864cc5f4e5c4b037244620d5 /gnome-settings-daemon/main.c
parentdbac0d42b7820fdaba2f964f86d26f035ef54ff6 (diff)
downloadgnome-settings-daemon-f09ef1ae1c3cebdf793ded453b788d414c2f7cf8.tar.gz
main: Fix --debug not working
As g_debug() calls were simply dropped before that.
Diffstat (limited to 'gnome-settings-daemon/main.c')
-rw-r--r--gnome-settings-daemon/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 05044197..b6805285 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -393,6 +393,9 @@ parse_args (int *argc, char ***argv)
g_option_context_free (context);
gnome_settings_profile_end (NULL);
+
+ if (debug)
+ g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
}
int