summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras/YandexPublishing.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-publishing-extras/YandexPublishing.vala')
-rw-r--r--plugins/shotwell-publishing-extras/YandexPublishing.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.vala b/plugins/shotwell-publishing-extras/YandexPublishing.vala
index ec99c2b..6504572 100644
--- a/plugins/shotwell-publishing-extras/YandexPublishing.vala
+++ b/plugins/shotwell-publishing-extras/YandexPublishing.vala
@@ -338,7 +338,7 @@ private class UploadTransaction: Transaction {
image_part_header.set_content_disposition("form-data", result);
- Soup.Message outbound_message = soup_form_request_new_from_multipart(get_endpoint_url(), message_parts);
+ Soup.Message outbound_message = Soup.Form.request_new_from_multipart(get_endpoint_url(), message_parts);
outbound_message.request_headers.append("Authorization", ("OAuth %s").printf(session.get_auth_token()));
outbound_message.request_headers.append("Connection", "close");
set_message(outbound_message);