diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-12-20 19:02:20 +0800 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-12-20 19:05:54 +0800 |
commit | 7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4 (patch) | |
tree | 24c221af30c88189ca95d0d224cdeea9fb80dd00 /lib | |
parent | 010f155d3d56bdf5f6009e2ef7235347c671c351 (diff) | |
download | gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.tar gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.tar.gz gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.tar.bz2 gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.tar.lz gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.tar.xz gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.tar.zst gsoc2013-epiphany-7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4.zip |
Fix build with WebKit2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-profile-migrator.c | 1 | ||||
-rw-r--r-- | lib/ephy-web-app-utils.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c index afa87c970..35d2f8dcf 100644 --- a/lib/ephy-profile-migrator.c +++ b/lib/ephy-profile-migrator.c @@ -47,6 +47,7 @@ #include <glib/gi18n.h> #include <glib/gstdio.h> #include <gnome-keyring.h> +#include <libsoup/soup.h> #include <sys/stat.h> #include <sys/types.h> diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c index e3151741b..8087c426b 100644 --- a/lib/ephy-web-app-utils.c +++ b/lib/ephy-web-app-utils.c @@ -26,6 +26,7 @@ #include "ephy-file-helpers.h" #include <glib/gstdio.h> +#include <libsoup/soup.h> #ifdef HAVE_WEBKIT2 #include <webkit2/webkit2.h> #else @@ -495,7 +496,7 @@ static SoupCookieJar *get_current_cookie_jar (void) * It would be better to have an API in WebKit to get the cookies instead. */ filename = g_build_filename (ephy_dot_dir (), "cookies.sqlite", NULL); - jar = (SoupCookieJar*)soup_cookie_jar_sqlite_new (filename, TRUE); + jar = (SoupCookieJar*)soup_cookie_jar_db_new (filename, TRUE); g_free (filename); return jar; |