aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-12-19 20:28:07 +0800
committerXan Lopez <xan@igalia.com>2012-12-19 20:32:49 +0800
commit6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a (patch)
tree73afa40243f79cbd9b266febe6beadc9a3911706 /lib
parentb25c7f4f929ceca2724bce7dd7fd60e0146842f3 (diff)
downloadgsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.tar
gsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.tar.gz
gsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.tar.bz2
gsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.tar.lz
gsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.tar.xz
gsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.tar.zst
gsoc2013-epiphany-6e16272c9bbe3f91ceb0d5656a6f913a59a0d29a.zip
Use new libsoup APIs
Drops dependency on libsoup-gnome, we now depend on libsoup 2.41.3
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-profile-migrator.c3
-rw-r--r--lib/ephy-web-app-utils.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c
index e757cbd80..afa87c970 100644
--- a/lib/ephy-profile-migrator.c
+++ b/lib/ephy-profile-migrator.c
@@ -47,7 +47,6 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
#include <gnome-keyring.h>
-#include <libsoup/soup-gnome.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -105,7 +104,7 @@ migrate_cookies (void)
SoupCookieJar *txt, *sqlite;
txt = soup_cookie_jar_text_new (src_txt, TRUE);
- sqlite = soup_cookie_jar_sqlite_new (dest, FALSE);
+ sqlite = soup_cookie_jar_db_new (dest, FALSE);
cookies = soup_cookie_jar_all_cookies (txt);
for (p = cookies; p; p = p->next) {
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
index 203a771f8..e3151741b 100644
--- a/lib/ephy-web-app-utils.c
+++ b/lib/ephy-web-app-utils.c
@@ -26,7 +26,6 @@
#include "ephy-file-helpers.h"
#include <glib/gstdio.h>
-#include <libsoup/soup-gnome.h>
#ifdef HAVE_WEBKIT2
#include <webkit2/webkit2.h>
#else
@@ -525,7 +524,7 @@ create_cookie_jar_for_domain (const char *address, const char *directory)
/* Create the new cookie jar */
filename = g_build_filename (directory, "cookies.sqlite", NULL);
- new_jar = (SoupCookieJar*)soup_cookie_jar_sqlite_new (filename, FALSE);
+ new_jar = (SoupCookieJar*)soup_cookie_jar_db_new (filename, FALSE);
g_free (filename);
/* The app domain for the current view */