[gnome-maps] placeStore: Add '_' suffix to an internal function



commit 2c511fa32f27015090f19ecfe18ddfa52afd0b14
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jan 23 13:11:41 2014 +0000

    placeStore: Add '_' suffix to an internal function

 src/placeStore.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/placeStore.js b/src/placeStore.js
index 9211543..1032962 100644
--- a/src/placeStore.js
+++ b/src/placeStore.js
@@ -134,7 +134,7 @@ const PlaceStore = new Lang.Class({
         }
     },
 
-    store: function() {
+    _store: function() {
         let jsonArray = [];
         this.foreach(function(model, path, iter) {
             let place    = model.get_value(iter, Columns.PLACE),
@@ -182,7 +182,7 @@ const PlaceStore = new Lang.Class({
         this._typeTable[place.name] = type;
 
         try {
-            this.store();
+            this._store();
         } catch (e) {
             Utils.debug(e);
         }


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