[gnome-maps/wip/mlundblad/photon-geocode: 2/8] application: Initialize Photon geocode instance
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/photon-geocode: 2/8] application: Initialize Photon geocode instance
- Date: Thu, 16 May 2019 20:33:06 +0000 (UTC)
commit e42edd59f40408ba9bfa4563e64bc00b6492ab0e
Author: Marcus Lundblad <ml update uu se>
Date: Tue Apr 23 23:13:07 2019 +0200
application: Initialize Photon geocode instance
src/application.js | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/application.js b/src/application.js
index 9cba29c..f23adac 100644
--- a/src/application.js
+++ b/src/application.js
@@ -36,6 +36,7 @@ const MainWindow = imports.mainWindow;
const Maps = imports.gi.GnomeMaps;
const OSMEdit = imports.osmEdit;
const OSMTypeSearchEntry = imports.osmTypeSearchEntry;
+const PhotonGeocode = imports.photonGeocode;
const PlaceStore = imports.placeStore;
const RoutingDelegator = imports.routingDelegator;
const RouteQuery = imports.routeQuery;
@@ -49,6 +50,7 @@ var placeStore = null;
var routingDelegator = null;
var geoclue = null;
var geocodeService = null;
+var photonGeocode = null;
var networkMonitor = null;
var checkInManager = null;
var contactStore = null;
@@ -231,6 +233,7 @@ var Application = GObject.registerClass({
routingDelegator = new RoutingDelegator.RoutingDelegator({ query: routeQuery });
geoclue = new Geoclue.Geoclue();
geocodeService = new GeocodeService.GeocodeService();
+ photonGeocode = new PhotonGeocode.PhotonGeocode();
networkMonitor = Gio.NetworkMonitor.get_default();
networkMonitor.connect('network-changed',
this._checkNetwork.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]