From 5b77c77487c3abccf785921241bc6734ab09a3fe Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Sep 2017 16:19:36 -0400 Subject: src/tab-chrome.[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 d274597..42c408d 100644 --- a/src/tab.c +++ b/src/tab.c @@ -24,6 +24,7 @@ #include #include "tab.h" +#include "tab-chrome.h" MqTab * mq_tab_new(gchar *uri) @@ -31,9 +32,11 @@ mq_tab_new(gchar *uri) MqTab *tab; tab = malloc(sizeof(*tab)); + tab->chrome = mq_tab_chrome_new(uri); tab->container = gtk_grid_new(); - gtk_grid_attach(GTK_GRID(tab->container), gtk_label_new(uri), + 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"), 0, 1, 1, 1); -- cgit v0.9.1