aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-06-21 18:15:33 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-06-21 18:45:21 +0800
commit4d265094c5d28e7192dec077ea56c2a6c199cb4a (patch)
treef45ac1b4f00347c0e87cf53644f894b3e88230bc /embed
parent994dffde1f3189ed628d4c211a9a2ea5ecdbd15e (diff)
downloadgsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.tar
gsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.tar.gz
gsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.tar.bz2
gsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.tar.lz
gsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.tar.xz
gsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.tar.zst
gsoc2013-epiphany-4d265094c5d28e7192dec077ea56c2a6c199cb4a.zip
Include libsoup header explicitly when required
Instead of relying on webkit header to include it.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-prefs.h2
-rw-r--r--embed/ephy-embed-utils.c1
-rw-r--r--embed/ephy-embed-utils.h2
-rw-r--r--embed/ephy-web-view.c1
4 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h
index ee86da04a..0db4ffbc3 100644
--- a/embed/ephy-embed-prefs.h
+++ b/embed/ephy-embed-prefs.h
@@ -23,6 +23,8 @@
#include "ephy-embed.h"
+#include <libsoup/soup.h>
+
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
#error "Only <epiphany/epiphany.h> can be included directly."
#endif
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index 70c8a6c03..6c669f7c6 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <glib/gi18n.h>
+#include <libsoup/soup.h>
#include "ephy-string.h"
#include "ephy-embed-utils.h"
diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h
index 4d8ded161..ded63a5d8 100644
--- a/embed/ephy-embed-utils.h
+++ b/embed/ephy-embed-utils.h
@@ -31,8 +31,6 @@
#include "ephy-web-view.h"
-#include <webkit/webkit.h>
-
G_BEGIN_DECLS
#define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (ephy_embed_get_web_view (embed)))
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 2b4af2954..72da3ce8c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -50,7 +50,6 @@
#include <gtk/gtk.h>
#include <libsoup/soup-gnome.h>
#include <string.h>
-#include <webkit/webkit.h>
/**
* SECTION:ephy-web-view