diff options
Diffstat (limited to 'src/tab-chrome.c')
-rw-r--r-- | src/tab-chrome.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index e368694..c57ca6a 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -26,6 +26,7 @@ #include <webkit2/webkit2.h> #include "tab-chrome.h" +#include "tab.h" static void back_clicked_cb(GtkButton __attribute__((unused)) *toolbutton, @@ -506,11 +507,12 @@ navigation_toolbar_new(MqTabChrome *chrome, const gchar *uri) } MqTabChrome * -mq_tab_chrome_new(const gchar *uri) +mq_tab_chrome_new(MqTab *tab, const gchar *uri) { MqTabChrome *chrome; chrome = malloc(sizeof(*chrome)); + chrome->tab = tab; chrome->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(chrome->container), |