[empathy] debug-window: Replace deprecated soup_session_async_new
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] debug-window: Replace deprecated soup_session_async_new
- Date: Mon, 27 Jun 2016 12:55:35 +0000 (UTC)
commit f9b4c66cc8f871cbe5e64462b6ecdb39ebb5ffb0
Author: Diane Trout <diane ghic org>
Date: Thu Jun 23 22:45:30 2016 -0700
debug-window: Replace deprecated soup_session_async_new
... with soup_session_new.
https://bugzilla.gnome.org/show_bug.cgi?id=767992
configure.ac | 3 ++-
src/empathy-debug-window.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9001253..68161c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,7 @@ LIBSECRET_REQUIRED=0.5
GCR_REQUIRED=2.91.4
LIBCANBERRA_GTK_REQUIRED=0.25
LIBNOTIFY_REQUIRED=0.7.0
+LIBSOUP_REQUIRED=2.42.0
TELEPATHY_LOGGER=0.8.0
WEBKIT_REQUIRED=1.9.1
GOA_REQUIRED=3.5.1
@@ -234,7 +235,7 @@ PKG_CHECK_MODULES(EMPATHY,
libpulse
libpulse-mainloop-glib
webkitgtk-3.0 >= $WEBKIT_REQUIRED
- libsoup-2.4
+ libsoup-2.4 >= $LIBSOUP_REQUIRED
gee-0.8
])
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 7af66fe..8469e63 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1695,7 +1695,7 @@ debug_window_send_to_pastebin (EmpathyDebugWindow *self,
"&api_paste_name=%s&api_paste_format=text&api_option=paste",
api_dev_key, api_paste_code, api_paste_name);
- session = soup_session_async_new ();
+ session = soup_session_new ();
msg = soup_message_new ("POST", "http://pastebin.com/api/api_post.php");
soup_message_set_request (msg,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]