From fff5217f02d91268ce90c8c05665602c059faaef Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:18:39 +0200 Subject: Adding upstream version 1.4.5. Signed-off-by: Daniel Baumann --- src/fe-fuzz/null-logger.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/fe-fuzz/null-logger.c (limited to 'src/fe-fuzz/null-logger.c') diff --git a/src/fe-fuzz/null-logger.c b/src/fe-fuzz/null-logger.c new file mode 100644 index 0000000..dd88b84 --- /dev/null +++ b/src/fe-fuzz/null-logger.c @@ -0,0 +1,16 @@ +#include + +#include + +static void null_logger(const gchar *log_domain, + GLogLevelFlags log_level, + const gchar *message, + gpointer user_data) +{ + return; +} + +void g_log_set_null_logger(void) +{ + g_log_set_default_handler(null_logger, NULL); +} -- cgit v1.2.3