Port to libsoup3

This commit is contained in:
Milan Crha
2022-06-22 08:51:30 -03:00
committed by Georges Basile Stavracas Neto
parent 0fa383a14a
commit 0bd11799dc
10 changed files with 161 additions and 140 deletions
+3 -3
View File
@@ -430,14 +430,14 @@ add_meeting (GcalEventPopover *self,
static void
setup_location_label (GcalEventPopover *self)
{
g_autoptr (SoupURI) soup_uri = NULL;
g_autoptr (GUri) guri = NULL;
g_autofree gchar *location = NULL;
location = g_strdup (gcal_event_get_location (self->event));
g_strstrip (location);
soup_uri = soup_uri_new (location);
if (soup_uri)
guri = g_uri_parse (location, SOUP_HTTP_URI_FLAGS | G_URI_FLAGS_PARSE_RELAXED, NULL);
if (guri)
{
GString *string;