From 0abe6af9663d5119d94e2d27abee86e404a1a9fa Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 3 Sep 2017 14:48:07 +0200 Subject: [PATCH] added extra comments for gtk event dispatch --- src/dorkbox/util/jna/linux/GtkEventDispatch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dorkbox/util/jna/linux/GtkEventDispatch.java b/src/dorkbox/util/jna/linux/GtkEventDispatch.java index 76aa81b..26594b9 100644 --- a/src/dorkbox/util/jna/linux/GtkEventDispatch.java +++ b/src/dorkbox/util/jna/linux/GtkEventDispatch.java @@ -86,7 +86,8 @@ class GtkEventDispatch { // don't suppress GTK warnings in debug mode LoggerFactory.getLogger(GtkEventDispatch.class).debug("Running GTK Native Event Loop"); } else { - // NOTE: This can output warnings, so we suppress them + // NOTE: This can output warnings, so we suppress them. Additionally, setting System.err to null, or trying + // to filter it, will not suppress these errors/warnings orig = Glib.g_log_set_default_handler(Glib.nullLogFunc, null); }