[gnome-maps] Geoclue moved to system bus



commit 867f9302aeca14ef76b1418ebb971d92c7041459
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Aug 6 14:48:46 2013 +0200

    Geoclue moved to system bus

 src/geoclue.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/geoclue.js b/src/geoclue.js
index e2e5cfa..8c79b19 100644
--- a/src/geoclue.js
+++ b/src/geoclue.js
@@ -56,7 +56,7 @@ const Geoclue = new Lang.Class({
     },
 
     _findLocation: function() {
-        GClue.ManagerProxy.new_for_bus(Gio.BusType.SESSION,
+        GClue.ManagerProxy.new_for_bus(Gio.BusType.SYSTEM,
                                        Gio.DBusProxyFlags.NONE,
                                        "org.freedesktop.GeoClue2",
                                        "/org/freedesktop/GeoClue2/Manager",
@@ -78,7 +78,7 @@ const Geoclue = new Lang.Class({
         try {
             let [ret, clientPath] = this._managerProxy.call_get_client_finish(res);
 
-            GClue.ClientProxy.new_for_bus(Gio.BusType.SESSION,
+            GClue.ClientProxy.new_for_bus(Gio.BusType.SYSTEM,
                                           Gio.DBusProxyFlags.NONE,
                                           "org.freedesktop.GeoClue2",
                                           clientPath,
@@ -94,7 +94,7 @@ const Geoclue = new Lang.Class({
             this._clientProxy = GClue.ClientProxy.new_for_bus_finish(res);
 
             this._clientProxy.connect("location-updated", (function(client, oldPath, newPath) {
-                GClue.LocationProxy.new_for_bus(Gio.BusType.SESSION,
+                GClue.LocationProxy.new_for_bus(Gio.BusType.SYSTEM,
                                                 Gio.DBusProxyFlags.NONE,
                                                 "org.freedesktop.GeoClue2",
                                                 newPath,


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