[PATCH] grl-log: add missing domain initialization



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 src/grl-log-priv.h |    1 +
 src/grl-log.c      |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/grl-log-priv.h b/src/grl-log-priv.h
index abe2389..b29e1ed 100644
--- a/src/grl-log-priv.h
+++ b/src/grl-log-priv.h
@@ -31,6 +31,7 @@ G_BEGIN_DECLS
 
 GRL_LOG_DOMAIN_EXTERN(log_log_domain);
 GRL_LOG_DOMAIN_EXTERN(config_log_domain);
+GRL_LOG_DOMAIN_EXTERN(data_log_domain);
 GRL_LOG_DOMAIN_EXTERN(media_log_domain);
 GRL_LOG_DOMAIN_EXTERN(media_plugin_log_domain);
 GRL_LOG_DOMAIN_EXTERN(media_source_log_domain);
diff --git a/src/grl-log.c b/src/grl-log.c
index ec3b0c4..5895b09 100644
--- a/src/grl-log.c
+++ b/src/grl-log.c
@@ -314,6 +314,7 @@ _grl_log_init_core_domains (void)
   DOMAIN_INIT (GRL_LOG_DOMAIN_DEFAULT, "");
   DOMAIN_INIT (log_log_domain, "log");
   DOMAIN_INIT (config_log_domain, "config");
+  DOMAIN_INIT (data_log_domain, "data");
   DOMAIN_INIT (media_log_domain, "media");
   DOMAIN_INIT (media_plugin_log_domain, "media-plugin");
   DOMAIN_INIT (media_source_log_domain, "media-source");
-- 
1.7.4.1



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