aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-session/fail-whale-dialog.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gnome-session/fail-whale-dialog.patch')
-rw-r--r--testing/gnome-session/fail-whale-dialog.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/gnome-session/fail-whale-dialog.patch b/testing/gnome-session/fail-whale-dialog.patch
deleted file mode 100644
index e7a54f57f0..0000000000
--- a/testing/gnome-session/fail-whale-dialog.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-$OpenBSD: patch-gnome-session_gsm-fail-whale-dialog_c,v 1.1 2017/05/30 18:14:03 ajacoutot Exp $
-
-https://bugzilla.gnome.org/show_bug.cgi?id=775463
-
-Index: gnome-session/gsm-fail-whale-dialog.c
---- a/gnome-session/gsm-fail-whale-dialog.c.orig
-+++ b/gnome-session/gsm-fail-whale-dialog.c
-@@ -371,13 +371,20 @@ int main (int argc, char *argv[])
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- textdomain (GETTEXT_PACKAGE);
-
-- gtk_init_with_args (&argc, &argv, " - fail whale",
-- entries, GETTEXT_PACKAGE,
-- &error);
-- if (error != NULL) {
-- g_warning ("%s", error->message);
-- exit (1);
-- }
-+ if (!gtk_init_with_args (&argc, &argv, " - fail whale",
-+ entries, GETTEXT_PACKAGE,
-+ &error)) {
-+ if (error != NULL) {
-+ g_warning ("%s", error->message);
-+ exit (1);
-+ }
-+
-+ /* display server probably went away. Could be for legitimate reasons, could be for
-+ * unexpected reasons. If it went away unexpectantly, that's logged elsewhere, so
-+ * let's not add noise by logging here.
-+ */
-+ return 0;
-+ }
-
- fail_dialog = g_object_new (GSM_TYPE_FAIL_WHALE_DIALOG, NULL);
- fail_dialog->priv->debug_mode = debug_mode;