forked from AuroraMiddleware/gtk
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:
parent
c3f8010b19
commit
4039b713c3
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user