diff options
Diffstat (limited to 'src/tab.c')
-rw-r--r-- | src/tab.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |