diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-06-21 18:15:33 +0800 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-06-21 18:45:21 +0800 |
commit | 4d265094c5d28e7192dec077ea56c2a6c199cb4a (patch) | |
tree | f45ac1b4f00347c0e87cf53644f894b3e88230bc | |
parent | 994dffde1f3189ed628d4c211a9a2ea5ecdbd15e (diff) | |
download | gsoc2013-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.
-rw-r--r-- | embed/ephy-embed-prefs.h | 2 | ||||
-rw-r--r-- | embed/ephy-embed-utils.c | 1 | ||||
-rw-r--r-- | embed/ephy-embed-utils.h | 2 | ||||
-rw-r--r-- | embed/ephy-web-view.c | 1 | ||||
-rw-r--r-- | src/ephy-window.c | 1 | ||||
-rw-r--r-- | tests/ephy-download-test.c | 1 | ||||
-rw-r--r-- | tests/ephy-web-view-test.c | 1 |
7 files changed, 6 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 diff --git a/src/ephy-window.c b/src/ephy-window.c index 3bbdab698..292e958d0 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -64,6 +64,7 @@ #include <gio/gio.h> #include <glib/gi18n.h> #include <gtk/gtk.h> +#include <libsoup/soup.h> #include <webkit/webkit.h> #ifdef HAVE_X11_XF86KEYSYM_H diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c index dbcd0057d..303410e5b 100644 --- a/tests/ephy-download-test.c +++ b/tests/ephy-download-test.c @@ -33,6 +33,7 @@ #include <glib.h> #include <glib/gstdio.h> #include <gtk/gtk.h> +#include <libsoup/soup.h> #include <string.h> #define HTML_STRING "testing-ephy-download" diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c index eb0bffd53..bd0f2f0ce 100644 --- a/tests/ephy-web-view-test.c +++ b/tests/ephy-web-view-test.c @@ -34,6 +34,7 @@ #include <glib.h> #include <glib/gstdio.h> #include <gtk/gtk.h> +#include <libsoup/soup.h> #include <string.h> #define HTML_STRING "testing-ephy-web-view" |