diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-01 05:33:55 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-01 05:33:55 (EDT) |
commit | cb4d8dc5e1ed1aeec54e17557216b703a064d303 (patch) | |
tree | 3ec9c81f04e84a437076fbde2af906a73e66446a /src/tab-chrome.c | |
parent | 60d286b534fcff8997852be301d0ab56a69bf6cd (diff) | |
download | marquee-cb4d8dc5e1ed1aeec54e17557216b703a064d303.zip marquee-cb4d8dc5e1ed1aeec54e17557216b703a064d303.tar.gz marquee-cb4d8dc5e1ed1aeec54e17557216b703a064d303.tar.bz2 |
mq_tab_chrome_new(): Accept and save MqTab argument
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), |