This means we can use some newer features and get rid of some
boilerplate code using the `G_DECLARE_*` macros.
As discussed on IRC, 2.44 is old enough by now to start depending on it.
dnl *** checks for dependency libraries ***
dnl GLib
-GLIB_REQ=2.40.0
+GLIB_REQ=2.44.0
AG_GST_GLIB_CHECK([$GLIB_REQ])
dnl Check for documentation xrefs
privinc = include_directories('gst')
# Find dependencies
-glib_dep = dependency('glib-2.0', version : '>=2.40.0',
+glib_dep = dependency('glib-2.0', version : '>=2.44.0',
fallback: ['glib', 'libglib_dep'])
gobject_dep = dependency('gobject-2.0',
fallback: ['glib', 'libgobject_dep'])
GST_URI_SRC);
protocols = gst_uri_handler_get_protocols (GST_URI_HANDLER (src));
fail_unless (protocols != NULL && *protocols != NULL);
-#if GLIB_CHECK_VERSION (2, 44, 0)
fail_unless (g_strv_contains (protocols, "data"));
-#endif
fail_if (gst_uri_handler_set_uri (GST_URI_HANDLER (src), "file:///foo",
NULL));
fail_unless (gst_uri_handler_set_uri (GST_URI_HANDLER (src), data_uri, NULL));