[gnome-weather/gnome-3-8] window: remove unused code



commit cadc03509b7b04172092f61a2ae946510a17b536
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Mar 7 10:35:55 2013 -0500

    window: remove unused code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695367

 src/window.js |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index 01e20db..12607a7 100644
--- a/src/window.js
+++ b/src/window.js
@@ -217,19 +217,6 @@ const MainWindow = new Lang.Class({
             this._pageWidgets[Page.CITY][i].hide();
     },
 
-    get location() {
-        return this._location;
-    },
-
-    set location(l) {
-        this._location = l;
-        this._info.location = l;
-        this._header.title = makeTitle(l);
-        this.update();
-
-        this.notify('location');
-    },
-
     update: function() {
         this._cityView.update();
     },


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