From 2e60e7413a1732b2868d6ab59a2c9c7ad596c81e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 27 Jan 2018 14:54:46 +0100 Subject: building: bump required glib version to 2.50.0 --- configure.ac | 2 +- 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 */ -- cgit v1.2.1