summaryrefslogtreecommitdiff
path: root/osinfo/osinfo_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'osinfo/osinfo_tree.c')
-rw-r--r--osinfo/osinfo_tree.c3
1 files changed, 3 insertions, 0 deletions
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);