[gtk+] build: Define G_LOG_USE_STRUCTURED in GDK
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] build: Define G_LOG_USE_STRUCTURED in GDK
- Date: Wed, 3 May 2017 14:32:22 +0000 (UTC)
commit d09ccaaf353a30c1b79736faeabda22e0b58eff0
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Apr 28 22:40:58 2017 +0100
build: Define G_LOG_USE_STRUCTURED in GDK
We want to use the new structured logging support in GLib.
gdk/broadway/meson.build | 2 +-
gdk/meson.build | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gdk/broadway/meson.build b/gdk/broadway/meson.build
index 666fb6a..d1bb273 100644
--- a/gdk/broadway/meson.build
+++ b/gdk/broadway/meson.build
@@ -63,6 +63,6 @@ executable('gtk4-broadwayd',
clienthtml_h, broadwayjs_h,
'broadwayd.c', 'broadway-server.c', 'broadway-buffer.c', 'broadway-output.c',
include_directories: [confinc, gdkinc],
- c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"'],
+ c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-DG_LOG_USE_STRUCTURED=1', ],
dependencies : [broadwayd_syslib, gdk_deps],
install : true)
diff --git a/gdk/meson.build b/gdk/meson.build
index 08fa70c..c6f4735 100644
--- a/gdk/meson.build
+++ b/gdk/meson.build
@@ -202,7 +202,11 @@ libgdk = static_library('gdk',
sources: [gdk_sources, gdk_backends_gen_headers, gdkconfig],
dependencies: gdk_deps,
include_directories: [confinc, xinc, wlinc],
- c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"'] + common_cflags,
+ c_args: [
+ '-DGDK_COMPILATION',
+ '-DG_LOG_DOMAIN="Gdk"',
+ '-DG_LOG_USE_STRUCTURED=1',
+ ] + common_cflags,
link_with: gdk_backends,
link_args: common_ldflags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]