summaryrefslogtreecommitdiff
path: root/x11-libs/gtk+:3/fixes__atk-bridge-errors.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2019-11-11 21:32:56 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2019-11-11 21:32:56 +0100
commit73ef09e1d5813f72ad801f70fad2ec83b46be126 (patch)
tree41bbaf25f243ae1c6742de37bdce5635e38ab04e /x11-libs/gtk+:3/fixes__atk-bridge-errors.patch
parent372f3c09f22097ad7f076f2f56a959ca9215320f (diff)
downloadpatches-master.tar.gz
patches-master.tar.bz2
patches-master.zip
GTK3 PatchesHEADmaster
Diffstat (limited to 'x11-libs/gtk+:3/fixes__atk-bridge-errors.patch')
-rw-r--r--x11-libs/gtk+:3/fixes__atk-bridge-errors.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-libs/gtk+:3/fixes__atk-bridge-errors.patch b/x11-libs/gtk+:3/fixes__atk-bridge-errors.patch
new file mode 100644
index 0000000..e727103
--- /dev/null
+++ b/x11-libs/gtk+:3/fixes__atk-bridge-errors.patch
@@ -0,0 +1,17 @@
+diff --color -U 5 -r -Z -B ./org/gtk/a11y/gtkaccessibility.c ./mod/gtk/a11y/gtkaccessibility.c
+--- a/gtk/a11y/gtkaccessibility.c 2017-10-02 18:00:49.000000000 +0200
++++ b/gtk/a11y/gtkaccessibility.c 2017-10-30 21:26:10.880336153 +0100
+@@ -987,10 +987,13 @@
+
+ _gtk_accessibility_override_atk_util ();
+ do_window_event_initialization ();
+
+ #ifdef GDK_WINDOWING_X11
++ GLogWriterOutput mushrooms_null_writer () { return G_LOG_WRITER_HANDLED; }
++ g_log_set_writer_func (mushrooms_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);
+ }