diff options
author | Ray Strode <rstrode@redhat.com> | 2011-06-28 12:51:51 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-06-28 12:51:51 -0400 |
commit | fc6ee4aa6d71d2c448a9b62aca24ba318163c590 (patch) | |
tree | 215de00c5920d73919a7f530aa0d2ee7f9a47e7d /daemon | |
parent | 8c5f0a79ffe0ceb876517802f5303004f3d5bd0f (diff) | |
download | gdm-fc6ee4aa6d71d2c448a9b62aca24ba318163c590.tar.gz |
common: don't tank on criticals
Tiny (or not so tiny) bugs in components below GDM in the stack
can lead to critical warnings.
In development releases, GDM by default will crash when encountering
a critical warning.
Losing the login screen is a big deal. We shouldn't automatically subject
our users to "can't log in" in order to highlight bugs in development
releases.
This commit removes fatal criticals by default.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/factory-slave-main.c | 2 | ||||
-rw-r--r-- | daemon/main.c | 2 | ||||
-rw-r--r-- | daemon/product-slave-main.c | 2 | ||||
-rw-r--r-- | daemon/session-worker-main.c | 2 | ||||
-rw-r--r-- | daemon/simple-slave-main.c | 2 | ||||
-rw-r--r-- | daemon/xdmcp-chooser-slave-main.c | 2 |
6 files changed, 0 insertions, 12 deletions
diff --git a/daemon/factory-slave-main.c b/daemon/factory-slave-main.c index 9caab1cb..24412600 100644 --- a/daemon/factory-slave-main.c +++ b/daemon/factory-slave-main.c @@ -183,8 +183,6 @@ main (int argc, textdomain (GETTEXT_PACKAGE); setlocale (LC_ALL, ""); - gdm_set_fatal_warnings_if_unstable (); - g_type_init (); context = g_option_context_new (_("GNOME Display Manager Slave")); diff --git a/daemon/main.c b/daemon/main.c index 5b8d66b2..2ffb779c 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -543,8 +543,6 @@ main (int argc, ret = 1; - gdm_set_fatal_warnings_if_unstable (); - g_type_init (); context = g_option_context_new (_("GNOME Display Manager")); diff --git a/daemon/product-slave-main.c b/daemon/product-slave-main.c index b0ab03f4..b8e47555 100644 --- a/daemon/product-slave-main.c +++ b/daemon/product-slave-main.c @@ -187,8 +187,6 @@ main (int argc, textdomain (GETTEXT_PACKAGE); setlocale (LC_ALL, ""); - gdm_set_fatal_warnings_if_unstable (); - g_type_init (); context = g_option_context_new (_("GNOME Display Manager Slave")); diff --git a/daemon/session-worker-main.c b/daemon/session-worker-main.c index 35b44636..9d40b8da 100644 --- a/daemon/session-worker-main.c +++ b/daemon/session-worker-main.c @@ -151,8 +151,6 @@ main (int argc, g_type_init (); - gdm_set_fatal_warnings_if_unstable (); - /* Translators: worker is a helper process that does the work of starting up a session */ context = g_option_context_new (_("GNOME Display Manager Session Worker")); diff --git a/daemon/simple-slave-main.c b/daemon/simple-slave-main.c index 7751b61f..057492bc 100644 --- a/daemon/simple-slave-main.c +++ b/daemon/simple-slave-main.c @@ -187,8 +187,6 @@ main (int argc, textdomain (GETTEXT_PACKAGE); setlocale (LC_ALL, ""); - gdm_set_fatal_warnings_if_unstable (); - g_type_init (); context = g_option_context_new (_("GNOME Display Manager Slave")); diff --git a/daemon/xdmcp-chooser-slave-main.c b/daemon/xdmcp-chooser-slave-main.c index f86ea897..ea542109 100644 --- a/daemon/xdmcp-chooser-slave-main.c +++ b/daemon/xdmcp-chooser-slave-main.c @@ -189,8 +189,6 @@ main (int argc, textdomain (GETTEXT_PACKAGE); setlocale (LC_ALL, ""); - gdm_set_fatal_warnings_if_unstable (); - g_type_init (); context = g_option_context_new (_("GNOME Display Manager Slave")); |