[gnome-maps] queryPoint: Initialize place property to null
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] queryPoint: Initialize place property to null
- Date: Sat, 1 Nov 2014 11:41:12 +0000 (UTC)
commit 4d9dfd3ac35d2255e7e4b3ac2a640216aadb3f1d
Author: Jonas Danielsson <jonas danielsson threetimestwo org>
Date: Thu Oct 16 02:04:03 2014 -0400
queryPoint: Initialize place property to null
https://bugzilla.gnome.org/show_bug.cgi?id=737775
src/routeQuery.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/routeQuery.js b/src/routeQuery.js
index e549ec8..f05eff5 100644
--- a/src/routeQuery.js
+++ b/src/routeQuery.js
@@ -151,6 +151,11 @@ const QueryPoint = new Lang.Class({
Geocode.Place),
},
+ _init: function() {
+ this._place = null;
+ this.parent();
+ },
+
set place(p) {
this._place = p;
this.notify('place');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]