[rygel] core: Initialize LogHander at start-up



commit f8d470df732222f30191315a05c74ba0ec8c789a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Sep 25 14:57:47 2009 +0300

    core: Initialize LogHander at start-up

 src/rygel/rygel-main.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index 51bc061..fcc9834 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -32,6 +32,7 @@ public class Rygel.Main : Object {
     private ArrayList <RootDevice> root_devices;
 
     private Configuration config;
+    private LogHandler log_handler;
 
     private MainLoop main_loop;
 
@@ -40,6 +41,7 @@ public class Rygel.Main : Object {
     private Main () throws GLib.Error {
         Environment.set_application_name (_(BuildConfig.PACKAGE_NAME));
 
+        this.log_handler = LogHandler.get_default ();
         this.config = MetaConfig.get_default ();
         this.plugin_loader = new PluginLoader ();
         this.root_devices = new ArrayList <RootDevice> ();



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