[folks] Make the backends' log domains match their type_id.



commit 7b39b7188be6bf37925f76615c9004c5151e543c
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Jan 4 10:51:49 2011 -0800

    Make the backends' log domains match their type_id.
    
    Helps bgo#638609 - libfolks hard-codes backend names for debugging

 backends/key-file/Makefile.am      |    2 +-
 backends/telepathy/Makefile.am     |    2 +-
 backends/telepathy/lib/Makefile.am |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/backends/key-file/Makefile.am b/backends/key-file/Makefile.am
index 22c5ed4..ab5dab8 100644
--- a/backends/key-file/Makefile.am
+++ b/backends/key-file/Makefile.am
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/folks \
 	-include $(CONFIG_HEADER) \
 	-DPACKAGE_DATADIR=\"$(pkgdatadir)\" \
-	-DG_LOG_DOMAIN=\"KeyFileBackend\" \
+	-DG_LOG_DOMAIN=\"key-file\" \
 	$(NULL)
 
 backenddir = $(BACKEND_DIR)/key-file
diff --git a/backends/telepathy/Makefile.am b/backends/telepathy/Makefile.am
index 385e833..c3f0793 100644
--- a/backends/telepathy/Makefile.am
+++ b/backends/telepathy/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/backends/telepathy/lib \
 	-include $(CONFIG_HEADER) \
 	-DPACKAGE_DATADIR=\"$(pkgdatadir)\" \
-	-DG_LOG_DOMAIN=\"TelepathyBackend\" \
+	-DG_LOG_DOMAIN=\"telepathy\" \
 	$(NULL)
 
 VALAFLAGS += \
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index 9f86fb3..8db28c8 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/folks \
 	-include $(CONFIG_HEADER) \
 	-DPACKAGE_DATADIR=\"$(pkgdatadir)\" \
-	-DG_LOG_DOMAIN=\"TelepathyBackend\" \
+	-DG_LOG_DOMAIN=\"telepathy\" \
 	$(NULL)
 
 VAPIGENFLAGS += \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]