From a4181e3bf44f9fc3972ee1d6b91e921bdb537046 Mon Sep 17 00:00:00 2001 From: Neroth Date: Mon, 22 Jul 2013 16:40:11 +0200 Subject: [PATCH] Fix bug --- src/extension.js | 2 +- src/prefs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.js b/src/extension.js index 67e9559..e0cb8bb 100644 --- a/src/extension.js +++ b/src/extension.js @@ -145,7 +145,7 @@ const WEATHER_DEBUG_EXTENSION = 'debug-extension'; // Weather extension settin return 0; }, - world : new GWeather.Location.new_world(false), + world : GWeather.Location.new_world(false), start : function() { this.status("Starting Weather"); diff --git a/src/prefs.js b/src/prefs.js index 02b7490..73a7a32 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -98,7 +98,7 @@ Extends: Gtk.Box, Window : new Gtk.Builder(), - world : new GWeather.Location.new_world(false), + world : GWeather.Location.new_world(false), initWindow : function() { this.status("Init window");