[Xfce4-commits] [apps/xfce4-screenshooter] 31/38: Replace soup_session_sync_new by soup_session_new
noreply at xfce.org
noreply at xfce.org
Fri Apr 28 03:07:27 CEST 2017
This is an automated email from the git hooks/post-receive script.
andre pushed a commit to branch master
in repository apps/xfce4-screenshooter.
commit e8bd378086c71f352c8cb3bbd3b7df63ccdd0572
Author: Andre Miranda <andre42m at gmail.com>
Date: Tue Apr 4 22:38:56 2017 -0300
Replace soup_session_sync_new by soup_session_new
---
lib/screenshooter-imgur.c | 2 +-
lib/screenshooter-zimagez.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/screenshooter-imgur.c b/lib/screenshooter-imgur.c
index b93a462..85a76da 100644
--- a/lib/screenshooter-imgur.c
+++ b/lib/screenshooter-imgur.c
@@ -66,7 +66,7 @@ imgur_upload_job (ScreenshooterJob *job, GArray *param_values, GError **error)
image_path = g_value_get_string (g_array_index (param_values, GValue*, 0));
title = g_value_get_string (g_array_index (param_values, GValue*, 1));
- session = soup_session_sync_new ();
+ session = soup_session_new ();
#if DEBUG > 0
log = soup_logger_new (SOUP_LOGGER_LOG_HEADERS, -1);
soup_session_add_feature (session, (SoupSessionFeature *)log);
diff --git a/lib/screenshooter-zimagez.c b/lib/screenshooter-zimagez.c
index 820de8b..ddb428d 100644
--- a/lib/screenshooter-zimagez.c
+++ b/lib/screenshooter-zimagez.c
@@ -261,7 +261,7 @@ zimagez_upload_job (ScreenshooterJob *job, GArray *param_values, GError **error)
/* Start the user soup session */
exo_job_info_message (EXO_JOB (job), _("Initialize the connection..."));
- session = soup_session_sync_new ();
+ session = soup_session_new ();
/* Set the proxy URI if any */
proxy_uri = g_getenv ("http_proxy");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list