[geany/geany-plugins] 6b8920: Updatechecker: remove deprecated soup call (#541)
Frank Lanitz
git-noreply at xxxxx
Tue Mar 7 05:47:07 UTC 2017
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: GitHub <noreply at github.com>
Date: Tue, 07 Mar 2017 05:47:07 UTC
Commit: 6b8920c918327eee226483c46c927aae9d00563a
https://github.com/geany/geany-plugins/commit/6b8920c918327eee226483c46c927aae9d00563a
Log Message:
-----------
Updatechecker: remove deprecated soup call (#541)
* Remove deprecated soup call and bump dependency to soup 2.42
* Adjust documentation for dependency update
Modified Paths:
--------------
build/updatechecker.m4
updatechecker/README
updatechecker/src/updatechecker.c
Modified: build/updatechecker.m4
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -3,7 +3,7 @@ AC_DEFUN([GP_CHECK_UPDATECHECKER],
GP_ARG_DISABLE([Updatechecker], [auto])
GP_CHECK_PLUGIN_DEPS([Updatechecker], UPDATECHECKER,
- [libsoup-2.4 >= 2.4.0])
+ [libsoup-2.4 >= 2.42])
GP_COMMIT_PLUGIN_STATUS([Updatechecker])
Modified: updatechecker/README
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -41,7 +41,7 @@ Updatechecker depends on a recent version of Geany (0.20 or above)
as well as on:
* GTK >= 2.12
-* libsoup 2.4 >= 2.4.0
+* libsoup 2.4 >= 2.42
To compile it on your own you will need the devel packages for these.
Modified: updatechecker/src/updatechecker.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -83,7 +83,7 @@ static void update_check(gint type)
GEANY_VERSION, NULL);
g_message("Checking for updates (querying URL \"%s\")", UPDATE_CHECK_URL);
- soup = soup_session_async_new_with_options(
+ soup = soup_session_new_with_options(
SOUP_SESSION_USER_AGENT, user_agent,
SOUP_SESSION_TIMEOUT, 10,
NULL);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list