From d1920eadf30437f3e122415a520e0186085a9b80 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 25 Sep 2017 21:20:38 -0400 Subject: mq_tab_body_new(): Accept and save MqTab --- (limited to 'src/tab-body.c') diff --git a/src/tab-body.c b/src/tab-body.c index 808a10b..1407b01 100644 --- a/src/tab-body.c +++ b/src/tab-body.c @@ -25,13 +25,15 @@ #include #include "tab-body.h" +#include "tab.h" MqTabBody * -mq_tab_body_new(gchar *uri) +mq_tab_body_new(MqTab *tab, gchar *uri) { MqTabBody *body; body = malloc(sizeof(*body)); + body->tab = tab; body->web_view = WEBKIT_WEB_VIEW(webkit_web_view_new()); if (uri) { -- cgit v0.9.1