[gtk/matthiasc/for-master: 19/25] Set G_LOG_USE_STRUCTURED globally
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 19/25] Set G_LOG_USE_STRUCTURED globally
- Date: Mon, 2 Nov 2020 03:30:55 +0000 (UTC)
commit 4039b713c3a09428a09b7820f27af3dba85eb617
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 1 15:47:44 2020 -0500
Set G_LOG_USE_STRUCTURED globally
It doesn't make much sense to set this in per-directory
meson files, since that makes use use different logging
facilities in different parts of the project. Set it
globally.
config.h.meson | 5 +++--
gtk/css/meson.build | 1 -
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/config.h.meson b/config.h.meson
index 1968bb9cbe..549a677379 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -1,8 +1,9 @@
-/* config.h.in. Generated from configure.ac by autoheader. */
-
/* always defined to indicate that i18n is enabled */
#define ENABLE_NLS 1
+/* Use structured logging */
+#define G_LOG_STRUCTURED 1
+
/* The prefix for our gettext translation domains. */
#mesondefine GETTEXT_PACKAGE
diff --git a/gtk/css/meson.build b/gtk/css/meson.build
index 6b24561928..501411f917 100644
--- a/gtk/css/meson.build
+++ b/gtk/css/meson.build
@@ -47,7 +47,6 @@ libgtk_css = static_library('gtk_css',
c_args: [
'-DGTK_COMPILATION',
'-DG_LOG_DOMAIN="Gtk"',
- '-DG_LOG_STRUCTURED=1',
] + common_cflags,
link_args: common_ldflags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]