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:
parent
c206ddd930
commit
356c1ff8e3
@ -62,7 +62,7 @@ parse_uri (const gchar * uri, gchar ** host, gint * port, gchar ** path,
|
|||||||
GUri *guri;
|
GUri *guri;
|
||||||
gboolean ret = FALSE;
|
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)
|
if (!guri)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user