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");