[PATCH 09/13] cache: Initialize log domain
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 09/13] cache: Initialize log domain
- Date: Tue, 15 Feb 2011 19:07:15 +0100
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
---
src/grl-media-cache.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/grl-media-cache.c b/src/grl-media-cache.c
index c2efac5..f3daff1 100644
--- a/src/grl-media-cache.c
+++ b/src/grl-media-cache.c
@@ -426,6 +426,7 @@ grl_media_cache_new (GList *keys)
gchar *cache_id;
sqlite3 *db;
+ GRL_LOG_DOMAIN_INIT (media_cache_log_domain, "grl-media-cache");
GRL_DEBUG (__FUNCTION__);
/* Get a name */
@@ -455,6 +456,7 @@ grl_media_cache_new_persistent (const gchar *cache_id, GList *keys)
g_return_val_if_fail (cache_id, NULL);
+ GRL_LOG_DOMAIN_INIT (media_cache_log_domain, "grl-media-cache");
GRL_DEBUG (__FUNCTION__);
/* Create the cache */
@@ -479,6 +481,7 @@ grl_media_cache_load_persistent (const gchar *cache_id)
g_return_val_if_fail (cache_id, NULL);
+ GRL_LOG_DOMAIN_INIT (media_cache_log_domain, "grl-media-cache");
GRL_DEBUG (__FUNCTION__);
db = check_table (cache_id);
--
1.7.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]