[rygel] core: Use default handler & Rygel domain



commit 6bb660c55b52178826e82ba7c534bae7f883e9f4
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Sep 25 15:51:38 2009 +0300

    core: Use default handler & Rygel domain
    
    Directly call default handler instead of 'log' and use Rygel domain instead
    of default.

 src/rygel/rygel-log-handler.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-log-handler.vala b/src/rygel/rygel-log-handler.vala
index 957cb52..6f1ba56 100644
--- a/src/rygel/rygel-log-handler.vala
+++ b/src/rygel/rygel-log-handler.vala
@@ -55,8 +55,8 @@ public class Rygel.LogHandler : GLib.Object {
         assert (log_domain == DOMAIN);
 
         if (log_levels in this.levels) {
-            // Just forward the message to default domain for now
-            log (null, log_levels, message);
+            // Forward the message to default domain
+            Log.default_handler (DOMAIN, log_levels, message, null);
         }
     }
 }



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