validate: Do not use G_URI_FLAGS_NONE symbol from 2.66

The GStreamer project currently requires GLib 2.64,
so just avoid this new API for now.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8577>
This commit is contained in:
Nicolas Dufresne 2025-02-28 11:25:00 -05:00 committed by Tim-Philipp Müller
parent c206ddd930
commit 356c1ff8e3

View File

@ -62,7 +62,7 @@ parse_uri (const gchar * uri, gchar ** host, gint * port, gchar ** path,
GUri *guri;
gboolean ret = FALSE;
guri = g_uri_parse (uri, G_URI_FLAGS_NONE, error);
guri = g_uri_parse (uri, 0 /* G_URI_FLAGS_NONE in 2.66 */ , error);
if (!guri)
return FALSE;