diff options
Diffstat (limited to 'libmateweather/weather.c')
-rw-r--r-- | libmateweather/weather.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c index 3b7642b..86453fc 100644 --- a/libmateweather/weather.c +++ b/libmateweather/weather.c @@ -50,7 +50,6 @@ static void _weather_internal_check (void); - static inline void mateweather_gettext_init (void) { @@ -267,7 +266,6 @@ weather_sky_string (WeatherSky sky) return _(sky_str[(int)sky]); } - /* * Even though tedious, I switched to a 2D array for weather condition * strings, in order to facilitate internationalization, esp. for languages @@ -341,7 +339,6 @@ weather_conditions_string (WeatherConditions cond) /* Locals turned global to facilitate asynchronous HTTP requests */ - gboolean requests_init (WeatherInfo *info) { @@ -586,11 +583,9 @@ weather_info_clone (const WeatherInfo *info) clone = g_new (WeatherInfo, 1); - /* move everything */ memmove (clone, info, sizeof (WeatherInfo)); - /* special moves */ clone->location = weather_location_clone (info->location); /* This handles null correctly */ |