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.
This commit is contained in:
Matthias Clasen 2020-11-01 15:47:44 -05:00
parent c3f8010b19
commit 4039b713c3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)