[evolution-rss] fix deprecated soup functions
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] fix deprecated soup functions
- Date: Thu, 6 Mar 2014 18:39:40 +0000 (UTC)
commit 6a1bc452b329acfe75b487b214f664848282fe25
Author: Igor Gnatenko <i gnatenko brain gmail com>
Date: Sun Feb 16 16:02:54 2014 +0400
fix deprecated soup functions
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720459
Signed-off-by: Igor Gnatenko <i gnatenko brain gmail com>
src/network-soup.c | 8 ++++----
src/rss-config-factory.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/network-soup.c b/src/network-soup.c
index e0034d1..e9551a2 100644
--- a/src/network-soup.c
+++ b/src/network-soup.c
@@ -288,7 +288,7 @@ proxify_webkit_session_async(EProxy *proxy, WEBKITNET *wknet)
case 0:
soup_session_add_feature_by_type (
webkit_session,
- SOUP_TYPE_PROXY_RESOLVER_GNOME);
+ SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
break;
#endif
}
@@ -337,7 +337,7 @@ proxify_session(EProxy *proxy, SoupSession *session, gchar *uri)
#ifdef HAVE_LIBSOUP_GNOME
case 0:
soup_session_add_feature_by_type (
- session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
+ session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
break;
#endif
}
@@ -464,7 +464,7 @@ proxify_session_async(EProxy *proxy, STNET *stnet)
#ifdef HAVE_LIBSOUP_GNOME
case 0:
soup_session_add_feature_by_type (
- stnet->ss, SOUP_TYPE_PROXY_RESOLVER_GNOME);
+ stnet->ss, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
break;
#endif
}
@@ -1241,7 +1241,7 @@ rss_soup_init(void)
g_free(feed_dir);
rss_soup_jar =
- soup_cookie_jar_sqlite_new (cookie_path, FALSE);
+ soup_cookie_jar_db_new (cookie_path, FALSE);
if (!g_file_test(moz_cookie_path, G_FILE_TEST_EXISTS|G_FILE_TEST_IS_SYMLINK)) {
sync_gecko_cookies();
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 7105d01..9ccf5f5 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -3027,7 +3027,7 @@ import_cookies(gchar *file)
fclose(f);
if (!g_ascii_strncasecmp(header, SQLITE_MAGIC, sizeof(SQLITE_MAGIC))) {
#ifdef HAVE_LIBSOUP_GNOME
- jar = soup_cookie_jar_sqlite_new(file, TRUE);
+ jar = soup_cookie_jar_db_new(file, TRUE);
#else
g_print("Importing sqlite format requires libsoup-gnome\n");
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]