From 624de81c195ab3f0c992826333413eb110fa1d5b Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 14 Dec 2021 01:58:31 -0600 Subject: Replace the removed soup_form_request_new API They are gone in libsoup 3. Testing Done: Compiled against libsoup 2 and 3 Reviewed at https://reviews.imfreedom.org/r/1187/ --- pidgin/plugins/relnot.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'pidgin/plugins') diff --git a/pidgin/plugins/relnot.c b/pidgin/plugins/relnot.c index e13110043f..c824001155 100644 --- a/pidgin/plugins/relnot.c +++ b/pidgin/plugins/relnot.c @@ -101,15 +101,16 @@ do_check(void) purple_debug_info("relnot", "Checking for new version."); - msg = soup_form_request_new("GET", "https://pidgin.im/version.php", - "version", purple_core_get_version(), - "build", + msg = soup_message_new_from_encoded_form("GET", "https://pidgin.im/version.php", + soup_form_encode( + "version", purple_core_get_version(), + "build", #ifdef _WIN32 - "purple-win32", + "purple-win32", #else - "purple", + "purple", #endif - NULL); + NULL)); soup_session_queue_message(session, msg, version_fetch_cb, NULL); -- cgit v1.2.1