[Spice-devel] [PATCH spice-gtk 1/2] Use single log domain

Pavel Grunt pgrunt at redhat.com
Tue Mar 14 11:35:18 UTC 2017


g_debug uses G_LOG_DOMAIN, spice_debug uses SPICE_LOG_DOMAIN
Make them use only one domain - GSpice
---
 src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 4fa7357..1043dbe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -71,6 +71,7 @@ KEYMAP_CSV = keycodemapdb/data/keymaps.csv
 SPICE_COMMON_CPPFLAGS =						\
 	-DSPICE_COMPILATION					\
 	-DG_LOG_DOMAIN=\"GSpice\"				\
+	-DSPICE_LOG_DOMAIN=G_LOG_DOMAIN				\
 	-DSPICE_GTK_LOCALEDIR=\"${SPICE_GTK_LOCALEDIR}\"	\
 	-DPNP_IDS=\""$(PNP_IDS)"\"				\
 	-DUSB_IDS=\""$(USB_IDS)"\"				\
-- 
2.12.0



More information about the Spice-devel mailing list