[gnome-online-accounts] webview: Use SOUP_TYPE_PROXY_RESOLVER_DEFAULT
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] webview: Use SOUP_TYPE_PROXY_RESOLVER_DEFAULT
- Date: Mon, 14 Jan 2013 14:35:21 +0000 (UTC)
commit cf25240c54630b1b98d5e9c600d7d45cd8191ceb
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Jan 14 15:05:44 2013 +0100
webview: Use SOUP_TYPE_PROXY_RESOLVER_DEFAULT
... instead of SOUP_TYPE_PROXY_RESOLVER_GNOME, which is deprecated.
As a result, we do not need libsoup-gnome anymore, and the minimum
libsoup version was bumped to 2.41.
configure.ac | 2 +-
src/goabackend/goawebview.c | 3 +--
src/goabackend/goawindowsliveprovider.c | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0b04cbc..16769c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,7 @@ PKG_CHECK_MODULES(WEBKIT_GTK, [webkitgtk-3.0])
AC_SUBST(WEBKIT_GTK_CFLAGS)
AC_SUBST(WEBKIT_GTK_LIBS)
-PKG_CHECK_MODULES(LIBSOUP, [libsoup-gnome-2.4 >= 2.38])
+PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.41])
AC_SUBST(LIBSOUP_CFLAGS)
AC_SUBST(LIBSOUP_LIBS)
diff --git a/src/goabackend/goawebview.c b/src/goabackend/goawebview.c
index 4fc4dd3..fac69ff 100644
--- a/src/goabackend/goawebview.c
+++ b/src/goabackend/goawebview.c
@@ -28,7 +28,6 @@
#include <glib.h>
#include <glib/gi18n-lib.h>
#include <libsoup/soup.h>
-#include <libsoup/soup-gnome.h>
#include <webkit/webkit.h>
#include "goawebview.h"
@@ -237,7 +236,7 @@ goa_web_view_init (GoaWebView *self)
session = webkit_get_default_session ();
- soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
+ soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
g_object_set (session, "accept-language-auto", TRUE, NULL);
soup_session_remove_feature_by_type (session, SOUP_TYPE_COOKIE_JAR);
diff --git a/src/goabackend/goawindowsliveprovider.c b/src/goabackend/goawindowsliveprovider.c
index a6d649b..ad50256 100644
--- a/src/goabackend/goawindowsliveprovider.c
+++ b/src/goabackend/goawindowsliveprovider.c
@@ -27,7 +27,6 @@
#include <rest/rest-proxy.h>
#include <json-glib/json-glib.h>
-#include <libsoup/soup-gnome.h>
#include <webkit/webkit.h>
#include "goaprovider.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]