summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-11 19:35:22 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-11 19:35:22 (EDT)
commitcb34333a750d424a9c141fa7dfa8a75fba04e61e (patch)
tree2ba5960ade8f454c0e707e72a5a3210b39b13ccb
parent609f591c34a8eaab9d35e0e33b7fd1bfa5a93002 (diff)
downloadmarquee-cb34333a750d424a9c141fa7dfa8a75fba04e61e.zip
marquee-cb34333a750d424a9c141fa7dfa8a75fba04e61e.tar.gz
marquee-cb34333a750d424a9c141fa7dfa8a75fba04e61e.tar.bz2
imq_web_view_new(): Initialize parent web-context property
-rw-r--r--src/web-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c
index 2251539..44e2921 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -649,6 +649,7 @@ mq_web_view_new(MqTab *tab, const gchar *uri)
return g_object_new(MQ_TYPE_WEB_VIEW,
"tab", tab, /* TODO: Use gtk_widget_get_parent() instead? */
"uri", uri,
+ "web-context", webkit_web_context_get_default(),
NULL);
}