summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-12 18:35:57 +0200
committerinfirit <[email protected]>2014-07-12 18:35:57 +0200
commitdf9458c9728866fae499d387f3668bef11db3688 (patch)
treeecbc50bee4c6dd9b12fcc764d061e0d225bca842
parenta896fafa010af32149f84c3942995bee3981add5 (diff)
downloadmate-settings-daemon-df9458c9728866fae499d387f3668bef11db3688.tar.bz2
mate-settings-daemon-df9458c9728866fae499d387f3668bef11db3688.tar.xz
Un-break my previous commit
-rw-r--r--mate-settings-daemon/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mate-settings-daemon/main.c b/mate-settings-daemon/main.c
index 0ecfb13..0e7a4c6 100644
--- a/mate-settings-daemon/main.c
+++ b/mate-settings-daemon/main.c
@@ -452,10 +452,10 @@ static void debug_changed (GSettings *settings, gchar *key, gpointer user_data)
{
debug = g_settings_get_boolean (settings, DEBUG_KEY);
if (debug) {
- g_debug ("Enable DEBUG");
+ g_warning ("Enable DEBUG");
g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);
} else {
- g_debug ("Disable DEBUG");
+ g_warning ("Disable DEBUG");
g_unsetenv ("G_MESSAGES_DEBUG");
}
}
@@ -485,12 +485,11 @@ main (int argc, char *argv[])
{
debug_settings = g_settings_new (DEBUG_SCHEMA);
debug = g_settings_get_boolean (debug_settings, DEBUG_KEY);
+ g_signal_connect (debug_settings, "changed::" DEBUG_KEY, G_CALLBACK (debug_changed), NULL);
if (debug) {
g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);
}
-
- g_signal_connect (debug_settings, "changed::" DEBUG_KEY, G_CALLBACK (debug_changed), NULL);
}
mate_settings_profile_start ("opening gtk display");