[libgweather/wip/hadess/no-http] wx: Remove "wx" radar provider



commit 7376d95548f92db31b068c892ff1a7892c842d44
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Apr 6 14:04:34 2020 +0200

    wx: Remove "wx" radar provider
    
    The provider doesn't work anymore.

 libgweather/gweather-private.h |   1 -
 libgweather/gweather-weather.c |   4 --
 libgweather/meson.build        |   1 -
 libgweather/weather-wx.c       | 118 -----------------------------------------
 4 files changed, 124 deletions(-)
---
diff --git a/libgweather/gweather-private.h b/libgweather/gweather-private.h
index 7e7d41a..925abd8 100644
--- a/libgweather/gweather-private.h
+++ b/libgweather/gweather-private.h
@@ -179,7 +179,6 @@ struct _GWeatherInfoPrivate {
 
 void           metar_start_open        (GWeatherInfo *info);
 gboolean       iwin_start_open         (GWeatherInfo *info);
-void           wx_start_open           (GWeatherInfo *info);
 gboolean        yrno_start_open         (GWeatherInfo *info);
 gboolean        owm_start_open          (GWeatherInfo *info);
 
diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c
index c4438fb..0a79f7d 100644
--- a/libgweather/gweather-weather.c
+++ b/libgweather/gweather-weather.c
@@ -668,10 +668,6 @@ gweather_info_update (GWeatherInfo *info)
     if (priv->providers & GWEATHER_PROVIDER_METAR)
        metar_start_open (info);
 
-    if (priv->radar) {
-        wx_start_open (info);
-    }
-
     ok = FALSE;
     /* Try national forecast services first */
     if (priv->providers & GWEATHER_PROVIDER_IWIN)
diff --git a/libgweather/meson.build b/libgweather/meson.build
index 7ca614e..97524e0 100644
--- a/libgweather/meson.build
+++ b/libgweather/meson.build
@@ -45,7 +45,6 @@ gweather_c_sources = [
   'gweather-weather.c',
   'weather-metar.c',
   'weather-iwin.c',
-  'weather-wx.c',
   'weather-yrno.c',
   'weather-owm.c',
   'weather-sun.c',


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