From 4572ba9c5b4b97782f3ecc6806185febadbc34ea Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Sep 2017 17:49:24 -0400 Subject: src/tab-body.[ch]: New files And use in src/tab.[ch]. --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index 42c408d..49f0b12 100644 --- a/src/tab.c +++ b/src/tab.c @@ -25,6 +25,7 @@ #include "tab.h" #include "tab-chrome.h" +#include "tab-body.h" MqTab * mq_tab_new(gchar *uri) @@ -33,12 +34,14 @@ mq_tab_new(gchar *uri) tab = malloc(sizeof(*tab)); tab->chrome = mq_tab_chrome_new(uri); + tab->body = mq_tab_body_new(uri); tab->container = gtk_grid_new(); gtk_grid_attach(GTK_GRID(tab->container), mq_tab_chrome_get_container(tab->chrome), 0, 0, 1, 1); - gtk_grid_attach(GTK_GRID(tab->container), gtk_label_new("Body"), + gtk_grid_attach(GTK_GRID(tab->container), + mq_tab_body_get_container(tab->body), 0, 1, 1, 1); return tab; -- cgit v0.9.1