diff --git a/src/core.c b/src/core.c index 92b6b04b..ba0b180c 100644 --- a/src/core.c +++ b/src/core.c @@ -6,8 +6,6 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#define G_LOG_DOMAIN "wireplumber-core" - #include "core.h" #include "loop-source.h" #include "module-loader.h" diff --git a/src/loop-source.c b/src/loop-source.c index 94e9045f..b8f43a0b 100644 --- a/src/loop-source.c +++ b/src/loop-source.c @@ -6,8 +6,6 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#define G_LOG_DOMAIN "wireplumber-loop" - #include "loop-source.h" #define WP_LOOP_SOURCE(x) ((WpLoopSource *) x) diff --git a/src/main.c b/src/main.c index 3c1b9169..e021c48c 100644 --- a/src/main.c +++ b/src/main.c @@ -6,8 +6,6 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#define G_LOG_DOMAIN "wireplumber" - #include "core.h" #include "utils.h" diff --git a/src/meson.build b/src/meson.build index d0fac24d..abc38af4 100644 --- a/src/meson.build +++ b/src/meson.build @@ -8,7 +8,11 @@ wp_sources = [ executable('wireplumber', wp_sources, - c_args : [ '-D_GNU_SOURCE', '-DG_LOG_USE_STRUCTURED' ], + c_args : [ + '-D_GNU_SOURCE', + '-DG_LOG_USE_STRUCTURED', + '-DG_LOG_DOMAIN="wireplumber"' + ], install: true, dependencies : [gobject_dep, gmodule_dep, gio_dep, pipewire_dep, wp_dep], )