[grilo] net: Set proper logging domain



commit edd29e1ae7d68f468570ca1b47f866ba40725096
Author: Mathias Hasselmann <mathias openismus com>
Date:   Thu Oct 11 20:25:21 2012 +0200

    net: Set proper logging domain

 libs/net/grl-net-private.h |    3 +++
 libs/net/grl-net-wc.c      |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libs/net/grl-net-private.h b/libs/net/grl-net-private.h
index f0ddc65..f1c2212 100644
--- a/libs/net/grl-net-private.h
+++ b/libs/net/grl-net-private.h
@@ -33,6 +33,9 @@
 
 G_BEGIN_DECLS
 
+#define GRL_LOG_DOMAIN_DEFAULT wc_log_domain
+GRL_LOG_DOMAIN_EXTERN(wc_log_domain);
+
 struct _GrlNetWcPrivate {
   SoupSession *session;
   SoupLoggerLogLevel log_level;
diff --git a/libs/net/grl-net-wc.c b/libs/net/grl-net-wc.c
index 4683b76..51170fe 100644
--- a/libs/net/grl-net-wc.c
+++ b/libs/net/grl-net-wc.c
@@ -46,7 +46,6 @@
 #include "grl-net-private.h"
 #include "grl-net-mock.h"
 
-#define GRL_LOG_DOMAIN_DEFAULT wc_log_domain
 GRL_LOG_DOMAIN(wc_log_domain);
 
 enum {



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