summaryrefslogtreecommitdiff
path: root/daemon/session-worker-main.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-11-22 15:19:21 -0500
committerColin Walters <walters@verbum.org>2013-11-22 15:22:26 -0500
commitcc62c15832ee4e2eeff336de4dff76d7f718f432 (patch)
tree527b1e33861278d9b17d658ec63111789cb5a20d /daemon/session-worker-main.c
parent28a6e3cbeb875eeaca3dd2d186db56201f3f80b0 (diff)
downloadgdm-cc62c15832ee4e2eeff336de4dff76d7f718f432.tar.gz
Don't enable debugging by default if the version is "unstable"
I'm open to negotiation for this, but basically...gdm is at present second only to the kernel in the sheer amount of spew it emits - when the version is "unstable". But it always will be for Continuous. Nowadays of course, I think Continuous helps act as a testing system for GDM that obviates a lot of the need for lots of debugging info for gdm during "unstable" cycles. I suspect that we will over time add other informational messages at strategic points by default; this patch is not the end of the story. It's a new beginning. https://bugzilla.gnome.org/show_bug.cgi?id=715037
Diffstat (limited to 'daemon/session-worker-main.c')
-rw-r--r--daemon/session-worker-main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/daemon/session-worker-main.c b/daemon/session-worker-main.c
index 40cd08be..ede60c59 100644
--- a/daemon/session-worker-main.c
+++ b/daemon/session-worker-main.c
@@ -68,13 +68,7 @@ on_sigusr1_cb (gpointer user_data)
static gboolean
is_debug_set (void)
{
- gboolean debug = FALSE;
-
- /* enable debugging for unstable builds */
- if (gdm_is_version_unstable ()) {
- return TRUE;
- }
-
+ gboolean debug;
gdm_settings_direct_get_boolean (GDM_KEY_DEBUG, &debug);
return debug;
}