projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703fc51
)
Apply 1 suggestion(s) to 1 file(s)
author
Emmanuele Bassi
<ebassi@gmail.com>
Sun, 7 Aug 2022 18:54:19 +0000
(18:54 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 Aug 2022 18:54:19 +0000
(18:54 +0000)
testsuite/reftests/gtk-reftest.c
patch
|
blob
|
history
diff --git
a/testsuite/reftests/gtk-reftest.c
b/testsuite/reftests/gtk-reftest.c
index c3900b924bb4962e383498f7cff4a56abe19ab3b..a057a2e9d08fc6f035fe27d2b1c8a2b043cbdefc 100644
(file)
--- a/
testsuite/reftests/gtk-reftest.c
+++ b/
testsuite/reftests/gtk-reftest.c
@@
-69,9
+69,13
@@
static gboolean
would_drop (GLogLevelFlags level,
const char *domain)
{
+#if GLIB_CHECK_VERSION (2, 68, 0)
+ return g_log_writer_default_would_drop (level, domain);
+#else
return (level & (G_LOG_LEVEL_ERROR |
G_LOG_LEVEL_CRITICAL |
G_LOG_LEVEL_WARNING)) == 0;
+#endif
}
static gboolean