[Xfce4-commits] [panel-plugins/xfce4-weather-plugin] 16/25: Port to libsoup 2.42 (released 2013)

noreply at xfce.org noreply at xfce.org
Mon Sep 17 00:14:13 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-weather-plugin.

commit 99c7f2285ffecb4b7a3f093a4943234a036e2b95
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Sep 12 21:17:57 2018 -0400

    Port to libsoup 2.42 (released 2013)
---
 configure.ac.in        | 2 +-
 panel-plugin/weather.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 41c2cbe..851ea57 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -65,7 +65,7 @@ XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0])
 XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0])
 XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0])
 XDT_CHECK_PACKAGE([LIBXML], [libxml-2.0], [2.4.0])
-XDT_CHECK_PACKAGE([SOUP], [libsoup-2.4], [2.32.0])
+XDT_CHECK_PACKAGE([SOUP], [libsoup-2.4], [2.42.0])
 XDT_CHECK_OPTIONAL_PACKAGE([UPOWER_GLIB], [upower-glib], [0.9.0], [upower],
                            [upower for adapting update interval to power state])
 
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index b318f02..6a73056 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1852,7 +1852,7 @@ xfceweather_create_control(XfcePanelPlugin *plugin)
     data->next_wakeup = time(NULL);
 
     /* Setup session for HTTP connections */
-    data->session = soup_session_async_new();
+    data->session = soup_session_new();
     g_object_set(data->session, SOUP_SESSION_USER_AGENT,
                  PACKAGE_NAME "-" PACKAGE_VERSION, NULL);
     g_object_set(data->session, SOUP_SESSION_TIMEOUT,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list