[gnome-maps] placeStore: Make updatePlace public



commit 8d12247cda754f4f6e57c765b36136e545d15699
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Mon Jan 5 07:35:12 2015 -0500

    placeStore: Make updatePlace public
    
    https://bugzilla.gnome.org/show_bug.cgi?id=742374

 src/placeStore.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/placeStore.js b/src/placeStore.js
index b259237..69c12b9 100644
--- a/src/placeStore.js
+++ b/src/placeStore.js
@@ -88,7 +88,7 @@ const PlaceStore = new Lang.Class({
 
     _addRecent: function(place) {
         if (this.exists(place, PlaceType.RECENT)) {
-            this._updatePlace(place);
+            this.updatePlace(place);
             return;
         }
 
@@ -241,7 +241,7 @@ const PlaceStore = new Lang.Class({
         }).bind(this));
     },
 
-    _updatePlace: function(place) {
+    updatePlace: function(place) {
         this.foreach((function(model, path, iter) {
             let p = model.get_value(iter, Columns.PLACE);
 


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