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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user