[grilo-plugins] tmdb: Use proper log domain in grl-tmdb-request.c
- From: Mathias Hasselmann <hasselmm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tmdb: Use proper log domain in grl-tmdb-request.c
- Date: Thu, 11 Oct 2012 20:06:45 +0000 (UTC)
commit 4477e64c38be37e2ce050b8a977c7b91043296e3
Author: Mathias Hasselmann <mathias openismus com>
Date: Thu Oct 11 22:06:38 2012 +0200
tmdb: Use proper log domain in grl-tmdb-request.c
src/tmdb/grl-tmdb-request.c | 3 +++
src/tmdb/grl-tmdb.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/tmdb/grl-tmdb-request.c b/src/tmdb/grl-tmdb-request.c
index d82c3f1..3b7a521 100644
--- a/src/tmdb/grl-tmdb-request.c
+++ b/src/tmdb/grl-tmdb-request.c
@@ -33,6 +33,9 @@
#include "grl-tmdb-request.h"
+#define GRL_LOG_DOMAIN_DEFAULT tmdb_log_domain
+GRL_LOG_DOMAIN_EXTERN(tmdb_log_domain);
+
/* URIs for TMDb.org API V3 */
#define TMDB_BASE_URI "http://api.themoviedb.org/3/"
#define TMDB_API_CALL_CONFIGURATION "configuration"
diff --git a/src/tmdb/grl-tmdb.c b/src/tmdb/grl-tmdb.c
index c0fb80d..60862ad 100644
--- a/src/tmdb/grl-tmdb.c
+++ b/src/tmdb/grl-tmdb.c
@@ -35,7 +35,7 @@
#include "grl-tmdb-request.h"
#define GRL_LOG_DOMAIN_DEFAULT tmdb_log_domain
-GRL_LOG_DOMAIN_STATIC(tmdb_log_domain);
+GRL_LOG_DOMAIN(tmdb_log_domain);
#define PLUGIN_ID TMDB_PLUGIN_ID
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]