summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osinfo/osinfo_media.c3
-rw-r--r--osinfo/osinfo_tree.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/osinfo/osinfo_media.c b/osinfo/osinfo_media.c
index 35bc257..cb859a3 100644
--- a/osinfo/osinfo_media.c
+++ b/osinfo/osinfo_media.c
@@ -1393,6 +1393,9 @@ void osinfo_media_create_from_location_with_flags_async(const gchar *location,
soup_session_send_async(data->session,
data->message,
+#if SOUP_MAJOR_VERSION > 2
+ G_PRIORITY_DEFAULT,
+#endif
cancellable,
on_location_read,
data);
diff --git a/osinfo/osinfo_tree.c b/osinfo/osinfo_tree.c
index 7455f94..fcf71c0 100644
--- a/osinfo/osinfo_tree.c
+++ b/osinfo/osinfo_tree.c
@@ -831,6 +831,9 @@ osinfo_tree_create_from_location_async_helper(CreateFromLocationAsyncData *data,
soup_session_send_async(data->session,
data->message,
+#if SOUP_MAJOR_VERSION > 2
+ G_PRIORITY_DEFAULT,
+#endif
g_task_get_cancellable(data->res),
on_soup_location_read,
data);