summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-22 16:39:08 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-22 16:39:08 (EDT)
commitc6ac335990389ebbc8a67629ebe3b6ca6bf921a3 (patch)
tree8aace4a7996eeb2523c7d2af1cbc04afd23cec33 /src/tab.c
parentcd666da9fb700189c7b4596599e62e970867bdc6 (diff)
downloadmarquee-c6ac335990389ebbc8a67629ebe3b6ca6bf921a3.zip
marquee-c6ac335990389ebbc8a67629ebe3b6ca6bf921a3.tar.gz
marquee-c6ac335990389ebbc8a67629ebe3b6ca6bf921a3.tar.bz2
Save MqApplication in MqTab
Diffstat (limited to 'src/tab.c')
-rw-r--r--src/tab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tab.c b/src/tab.c
index 2bb9cac..79308c1 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -200,11 +200,12 @@ title_cb(WebKitWebView __attribute__((unused)) *web_view,
}
MqTab *
-mq_tab_new(gchar *uri)
+mq_tab_new(MqApplication *application, gchar *uri)
{
MqTab *tab;
tab = malloc(sizeof(*tab));
+ tab->application = application;
mq_tab_populate_tab(tab);