diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libmateweather/weather.c | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index a0731c2..d84c2a2 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_SUBST(LT_VERSION) AC_CANONICAL_HOST -GLIB_REQUIRED=2.36.0 +GLIB_REQUIRED=2.50.0 GTK_REQUIRED=3.22.0 LIBSOUP_REQUIRED=2.34.0 GIO_REQUIRED=2.25.0 diff --git a/libmateweather/weather.c b/libmateweather/weather.c index 04ebf5b..5e1163f 100644 --- a/libmateweather/weather.c +++ b/libmateweather/weather.c @@ -42,11 +42,6 @@ #define MOON_PHASES 36 -/* g_memmove is removed in glib 2.40 */ -#if GLIB_CHECK_VERSION (2, 39, 0) && !defined(g_memmove) -#define g_memmove memmove -#endif - /** * SECTION:weather * @Title: weather @@ -593,7 +588,7 @@ weather_info_clone (const WeatherInfo *info) /* move everything */ - g_memmove (clone, info, sizeof (WeatherInfo)); + memmove (clone, info, sizeof (WeatherInfo)); /* special moves */ |