aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/Makefile.am1
-rw-r--r--embed/ephy-embed-utils.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/embed/Makefile.am b/embed/Makefile.am
index f8fc09861..42fc33ceb 100644
--- a/embed/Makefile.am
+++ b/embed/Makefile.am
@@ -78,6 +78,7 @@ libephyembed_la_CPPFLAGS = \
libephyembed_la_CFLAGS = \
-DSHARE_DIR=\"$(pkgdatadir)\" \
$(DEPENDENCIES_CFLAGS) \
+ $(WEBKIT_CFLAGS) \
$(AM_CFLAGS)
libephyembedfactory_la_SOURCES = \
diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h
index 7de058f53..a5c64bb7d 100644
--- a/embed/ephy-embed-utils.h
+++ b/embed/ephy-embed-utils.h
@@ -31,8 +31,12 @@
#include "ephy-embed.h"
+#include <webkit/webkit.h>
+
G_BEGIN_DECLS
+#define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (gtk_bin_get_child (GTK_BIN (gtk_bin_get_child (GTK_BIN (embed))))))
+
char * ephy_embed_utils_link_message_parse (char *message);
const char * ephy_embed_utils_get_title_composite (EphyEmbed *embed);
gboolean ephy_embed_utils_address_has_web_scheme (const char *address);