summaryrefslogtreecommitdiffstats
path: root/src/tab-chrome.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab-chrome.c')
-rw-r--r--src/tab-chrome.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 43aaac2..7a97437 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <gtk/gtk.h>
+#include <webkit2/webkit2.h>
#include "tab-chrome.h"
@@ -85,3 +86,9 @@ mq_tab_chrome_get_container(MqTabChrome *chrome)
{
return chrome->container;
}
+
+void
+mq_tab_chrome_set_web_view(MqTabChrome *chrome, WebKitWebView *web_view)
+{
+ chrome->web_view = web_view;
+}