ilgarmehmetali / budgie-weather-applet

GNU General Public License v2.0
7 stars 3 forks source link

`ForecastType' does not exist in the context of `GWeather' #24

Open ubuntupunk opened 4 years ago

ubuntupunk commented 4 years ago

compiling on Ubuntu 18.04

ninja [4/12] Compiling Vala source ../src/BudgieWeatherApplet...ala ../src/WeatherInfo.vala ../src/ILogindManager.vala. FAILED: src/budgieweatherapplet@sha/BudgieWeatherApplet.c src/budgieweatherapplet@sha/Providers/OpenWeatherMap.c src/budgieweatherapplet@sha/Providers/LibGWeather.c src/budgieweatherapplet@sha/Providers/Common.c src/budgieweatherapplet@sha/WeatherInfo.c src/budgieweatherapplet@sha/ILogindManager.c src/budgieweatherapplet.h src/budgieweatherapplet.vapi valac -C --pkg gweather-3.0 --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg budgie-1.0 --pkg libpeas-1.0 --target-glib ' 2.46.0' --pkg glib-2.0 --pkg gtk+-3.0 --color=always --directory src/budgieweatherapplet@sha --basedir ../src --library budgieweatherapplet --header src/budgieweatherapplet.h --vapi ../budgieweatherapplet.vapi --gresources=/home/afrodeity/Code/budgie-weather-applet/src/plugin.gresource.xml ../src/BudgieWeatherApplet.vala ../src/Providers/OpenWeatherMap.vala ../src/Providers/LibGWeather.vala ../src/Providers/Common.vala ../src/WeatherInfo.vala ../src/ILogindManager.vala ../src/Providers/LibGWeather.vala:8.62-8.82: error: The name ForecastType' does not exist in the context ofGWeather' GWeather.Info gweather_info = new GWeather.Info(loc, GWeather.ForecastType.STATE); ^^^^^^^^^^^^^^^^^^^^^ ../src/Providers/LibGWeather.vala:8.39-8.89: error: 1 extra arguments for `void GWeather.Info.new (GWeather.Location?)' GWeather.Info gweather_info = new GWeather.Info(loc, GWeather.ForecastType.STATE); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/BudgieWeatherApplet.vala:45.9-45.34: warning: Gtk.Widget.margin_left has been deprecated since 3.12 ../src/BudgieWeatherApplet.vala:45.38-45.64: warning: Gtk.Widget.margin_right has been deprecated since 3.12 ../src/BudgieWeatherApplet.vala:49.9-49.29: warning: Gtk.Widget.margin_left has been deprecated since 3.12 ../src/BudgieWeatherApplet.vala:49.33-49.59: warning: Gtk.Widget.margin_right has been deprecated since 3.12 ../src/BudgieWeatherApplet.vala:66.36-66.39: warning: Argument 1: Cannot pass null to non-null parameter type new GWeather.LocationEntry(null); ^^^^ Compilation failed: 2 error(s), 5 warning(s) ninja: build stopped: subcommand failed.

fossfreedom commented 4 years ago

See the outstanding pull-request.

Note - given the lack of feedback this project should be considered abandoned.

ilgarmehmetali commented 4 years ago

Sorry for the lack of feedback. I have stopped using budgie desktop for quite some time now. Will write current status of the project in the readme for future visitors. Thanks for showing interest.