[grilo] grl-inspect: Define log domain



commit 42f4809069c9e6c4bc0396d679d5d66c7c6ad881
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Apr 19 14:52:49 2011 +0000

    grl-inspect: Define log domain
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 tools/grilo-inspect/grl-inspect.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tools/grilo-inspect/grl-inspect.c b/tools/grilo-inspect/grl-inspect.c
index da531dd..0827efc 100644
--- a/tools/grilo-inspect/grl-inspect.c
+++ b/tools/grilo-inspect/grl-inspect.c
@@ -23,6 +23,9 @@
 #include <grilo.h>
 #include <glib.h>
 
+#define GRL_LOG_DOMAIN_DEFAULT grl_inspect_log_domain
+GRL_LOG_DOMAIN_STATIC(grl_inspect_log_domain);
+
 static gint delay = 0;
 static GMainLoop *mainloop = NULL;
 static gchar **introspect_sources = NULL;
@@ -196,6 +199,8 @@ main (int argc, char *argv[])
 
   grl_init (&argc, &argv);
 
+  GRL_LOG_DOMAIN_INIT (grl_inspect_log_domain, "grl-inspect");
+
   registry = grl_plugin_registry_get_default ();
   mainloop = g_main_loop_new (NULL, FALSE);
 



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