[gdm] main: Remove debug log toggle on SIGUSR1
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] main: Remove debug log toggle on SIGUSR1
- Date: Fri, 14 Feb 2014 20:49:50 +0000 (UTC)
commit 98a32e4ff97bb52060c4fc053eed153d98a80bc9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 14 15:24:06 2014 -0500
main: Remove debug log toggle on SIGUSR1
Trying to integrate the slave into the main daemon means that we
need to respond to USR1 as it's the signal Xorg sends when the
X server is ready.
https://bugzilla.gnome.org/show_bug.cgi?id=724382
daemon/main.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/daemon/main.c b/daemon/main.c
index b95802f..d008aac 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -288,16 +288,6 @@ on_sighup_cb (gpointer user_data)
}
static gboolean
-on_sigusr1_cb (gpointer user_data)
-{
- g_debug ("Got USR1 signal");
-
- gdm_log_toggle_debug ();
-
- return TRUE;
-}
-
-static gboolean
is_debug_set (void)
{
gboolean debug;
@@ -400,7 +390,6 @@ main (int argc,
g_unix_signal_add (SIGTERM, on_shutdown_signal_cb, main_loop);
g_unix_signal_add (SIGINT, on_shutdown_signal_cb, main_loop);
g_unix_signal_add (SIGHUP, on_sighup_cb, NULL);
- g_unix_signal_add (SIGUSR1, on_sigusr1_cb, NULL);
if (do_timed_exit) {
g_timeout_add_seconds (30, (GSourceFunc) timed_exit_cb, main_loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]