diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-07-09 12:05:38 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-07-09 12:15:32 +0000 |
commit | 17876994c473ee244df17dec42c1a79e08407e2c (patch) | |
tree | c5646428eb1b0520b32e429f90c60c4f4b4925cf /src/mm-utils.h | |
parent | dc66ee2aaadefd56f17681e95454748a958d96f3 (diff) |
utils: remove custom g_ptr_array_find_with_equal_func()
This was required when building with GLib < 2.54, but we now require
2.56 as minimum, so it is no longer needed.
Diffstat (limited to 'src/mm-utils.h')
-rw-r--r-- | src/mm-utils.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mm-utils.h b/src/mm-utils.h index 613205a3..43fcbfef 100644 --- a/src/mm-utils.h +++ b/src/mm-utils.h @@ -80,16 +80,4 @@ } \ MM_DEFINE_SINGLETON_DESTRUCTOR(TYPE) - -#if !GLIB_CHECK_VERSION(2,54,0) - -/* Pointer Array lookup with a GEqualFunc, imported from GLib 2.54 */ -#define g_ptr_array_find_with_equal_func mm_ptr_array_find_with_equal_func -gboolean mm_ptr_array_find_with_equal_func (GPtrArray *haystack, - gconstpointer needle, - GEqualFunc equal_func, - guint *index_); - -#endif - #endif /* MM_UTILS_H */ |