[epiphany] Fix build with WebKit2
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix build with WebKit2
- Date: Thu, 20 Dec 2012 11:06:08 +0000 (UTC)
commit 7402b5085c5bd167e6ff6d0ab5dfab5b12a18db4
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Thu Dec 20 12:02:20 2012 +0100
Fix build with WebKit2
embed/ephy-embed-single.c | 1 +
embed/ephy-web-view.c | 1 +
lib/ephy-profile-migrator.c | 1 +
lib/ephy-web-app-utils.c | 3 ++-
4 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 425ee04..0925e30 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -36,6 +36,7 @@
#include <glib/gi18n.h>
#include <gnome-keyring.h>
+#include <libsoup/soup.h>
#ifdef HAVE_WEBKIT2
#include <webkit2/webkit2.h>
#else
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index e490c5d..c09be65 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -51,6 +51,7 @@
#include <glib/gstdio.h>
#include <gnome-keyring.h>
#include <gtk/gtk.h>
+#include <libsoup/soup.h>
/**
* SECTION:ephy-web-view
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c
index afa87c9..35d2f8d 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 e315174..8087c42 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]