summaryrefslogtreecommitdiffstats
path: root/src/tab-chrome.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-17 00:03:40 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-17 00:03:40 (EDT)
commit2b665d00e4783ff04ad1a130b0e9d9a19cd08a74 (patch)
tree3f001c639279d6685740d844278bab2029ac272f /src/tab-chrome.c
parent4d4aecedb0444a62828093e2f3f02c25729dd10b (diff)
downloadmarquee-2b665d00e4783ff04ad1a130b0e9d9a19cd08a74.zip
marquee-2b665d00e4783ff04ad1a130b0e9d9a19cd08a74.tar.gz
marquee-2b665d00e4783ff04ad1a130b0e9d9a19cd08a74.tar.bz2
mq_tab_chrome_set_web_view(): New function
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;
+}