[tracker/wip/carlosg/domain-ontologies: 9/20] libtracker-sparql-backend: Set namespace on Log object



commit 19ff01d9de5d4d516bf8d32985264f95ed66e862
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 19 19:56:39 2017 +0200

    libtracker-sparql-backend: Set namespace on Log object
    
    So we can include libtracker-common vapi without conflicts

 src/libtracker-sparql-backend/tracker-backend.vala |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/libtracker-sparql-backend/tracker-backend.vala 
b/src/libtracker-sparql-backend/tracker-backend.vala
index 3036cf9..041491d 100644
--- a/src/libtracker-sparql-backend/tracker-backend.vala
+++ b/src/libtracker-sparql-backend/tracker-backend.vala
@@ -59,7 +59,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public override Cursor query (string sparql, Cancellable? cancellable = null) throws Sparql.Error, 
IOError, DBusError, GLib.Error {
-               debug ("%s(): '%s'", Log.METHOD, sparql);
+               debug ("%s(): '%s'", GLib.Log.METHOD, sparql);
                if (direct != null) {
                        return direct.query (sparql, cancellable);
                } else {
@@ -68,7 +68,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public async override Cursor query_async (string sparql, Cancellable? cancellable = null) throws 
Sparql.Error, IOError, DBusError, GLib.Error {
-               debug ("%s(): '%s'", Log.METHOD, sparql);
+               debug ("%s(): '%s'", GLib.Log.METHOD, sparql);
                if (direct != null) {
                        return yield direct.query_async (sparql, cancellable);
                } else {
@@ -77,7 +77,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public override void update (string sparql, int priority = GLib.Priority.DEFAULT, Cancellable? 
cancellable = null) throws Sparql.Error, IOError, DBusError, GLib.Error {
-               debug ("%s(priority:%d): '%s'", Log.METHOD, priority, sparql);
+               debug ("%s(priority:%d): '%s'", GLib.Log.METHOD, priority, sparql);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Update support not available for direct-only 
connection");
                }
@@ -85,7 +85,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public override GLib.Variant? update_blank (string sparql, int priority = GLib.Priority.DEFAULT, 
Cancellable? cancellable = null) throws Sparql.Error, IOError, DBusError, GLib.Error {
-               debug ("%s(priority:%d): '%s'", Log.METHOD, priority, sparql);
+               debug ("%s(priority:%d): '%s'", GLib.Log.METHOD, priority, sparql);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Update support not available for direct-only 
connection");
                }
@@ -93,7 +93,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public async override void update_async (string sparql, int priority = GLib.Priority.DEFAULT, 
Cancellable? cancellable = null) throws Sparql.Error, IOError, DBusError, GLib.Error {
-               debug ("%s(priority:%d): '%s'", Log.METHOD, priority, sparql);
+               debug ("%s(priority:%d): '%s'", GLib.Log.METHOD, priority, sparql);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Update support not available for direct-only 
connection");
                }
@@ -108,7 +108,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public async override GLib.Variant? update_blank_async (string sparql, int priority = 
GLib.Priority.DEFAULT, Cancellable? cancellable = null) throws Sparql.Error, IOError, DBusError, GLib.Error {
-               debug ("%s(priority:%d): '%s'", Log.METHOD, priority, sparql);
+               debug ("%s(priority:%d): '%s'", GLib.Log.METHOD, priority, sparql);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Update support not available for direct-only 
connection");
                }
@@ -117,7 +117,7 @@ class Tracker.Sparql.Backend : Connection {
 
        public override void load (File file, Cancellable? cancellable = null) throws Sparql.Error, IOError, 
DBusError {
                var uri = file.get_uri ();
-               debug ("%s(): '%s'", Log.METHOD, uri);
+               debug ("%s(): '%s'", GLib.Log.METHOD, uri);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Update support not available for direct-only 
connection");
                }
@@ -126,7 +126,7 @@ class Tracker.Sparql.Backend : Connection {
 
        public async override void load_async (File file, Cancellable? cancellable = null) throws 
Sparql.Error, IOError, DBusError {
                var uri = file.get_uri ();
-               debug ("%s(): '%s'", Log.METHOD, uri);
+               debug ("%s(): '%s'", GLib.Log.METHOD, uri);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Update support not available for direct-only 
connection");
                }
@@ -134,7 +134,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public override Cursor? statistics (Cancellable? cancellable = null) throws Sparql.Error, IOError, 
DBusError {
-               debug ("%s()", Log.METHOD);
+               debug ("%s()", GLib.Log.METHOD);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Statistics support not available for direct-only 
connection");
                }
@@ -142,7 +142,7 @@ class Tracker.Sparql.Backend : Connection {
        }
 
        public async override Cursor? statistics_async (Cancellable? cancellable = null) throws Sparql.Error, 
IOError, DBusError {
-               debug ("%s()", Log.METHOD);
+               debug ("%s()", GLib.Log.METHOD);
                if (bus == null) {
                        throw new Sparql.Error.UNSUPPORTED ("Statistics support not available for direct-only 
connection");
                }


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