glib: bump glib requirement to 2.66 and port to GUri

This removes the old SoupURI copypasta from previous generation
of libsoup and opens up a path for a simple libsoup3 port.
This commit is contained in:
Daniel Kolesa committed 2022-03-12 04:44:18 +01:00
1 parent 2f11977da5
commit aca9e8e6a7
29 files changed
+266 -1957

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
* Copyright (C) 2022 Igalia S.L.
*
* SPDX-License-Identifier: LGPL-2.0+
*
@@ -47,7 +48,7 @@ result_cb (GObject *source_object,
static void
collection_ref_free0 (OstreeCollectionRef *ref)
{
g_clear_pointer (&ref, (GDestroyNotify) ostree_collection_ref_free);
g_clear_pointer (&ref, ostree_collection_ref_free);
}
int
+2 -1
View File
@@ -1,5 +1,6 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
* Copyright (C) 2022 Igalia S.L.
*
* SPDX-License-Identifier: LGPL-2.0+
*
@@ -136,7 +137,7 @@ ostree_mock_volume_monitor_new (GList *mounts,
monitor->mounts = g_list_copy_deep (mounts, (GCopyFunc) g_object_ref, NULL);
monitor->volumes = g_list_copy_deep (volumes, (GCopyFunc) g_object_ref, NULL);
return g_steal_pointer (&monitor);
return (GVolumeMonitor *)g_steal_pointer (&monitor);
}
/* Mock volume class. This returns a static set of data to the caller, which it