diff options
author | raveit65 <[email protected]> | 2018-01-27 14:54:46 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-27 20:19:45 +0100 |
commit | 2e60e7413a1732b2868d6ab59a2c9c7ad596c81e (patch) | |
tree | 68629a52b00be06c658c860238443c05601a58da | |
parent | fcb61a97d0ec83a66892602345962c742770a252 (diff) | |
download | libmateweather-2e60e7413a1732b2868d6ab59a2c9c7ad596c81e.tar.bz2 libmateweather-2e60e7413a1732b2868d6ab59a2c9c7ad596c81e.tar.xz |
building: bump required glib version to 2.50.0
-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 */ |