aboutsummarylogtreecommitdiffstats
path: root/other__atk-bridge-errors.patch
diff options
context:
space:
mode:
Diffstat (limited to 'other__atk-bridge-errors.patch')
-rw-r--r--other__atk-bridge-errors.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/other__atk-bridge-errors.patch b/other__atk-bridge-errors.patch
new file mode 100644
index 000000000000..23ea58b757c0
--- /dev/null
+++ b/other__atk-bridge-errors.patch
@@ -0,0 +1,17 @@
+diff -U 5 -r -Z -B ./org/gtk/a11y/gtkaccessibility.c ./mod/gtk/a11y/gtkaccessibility.c
+--- ./org/gtk/a11y/gtkaccessibility.c 2017-08-11 21:47:18.000000000 +0200
++++ ./mod/gtk/a11y/gtkaccessibility.c 2017-09-17 19:10:42.210314169 +0200
+@@ -987,10 +987,13 @@
+
+ _gtk_accessibility_override_atk_util ();
+ do_window_event_initialization ();
+
+ #ifdef GDK_WINDOWING_X11
++ GLogWriterOutput h_null_writer () { return G_LOG_WRITER_HANDLED; }
++ g_log_set_writer_func(h_null_writer, NULL, NULL);
+ atk_bridge_adaptor_init (NULL, NULL);
++ g_log_set_writer_func(g_log_writer_default, NULL, NULL);
+ #endif
+
+ atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL);
+ }