summaryrefslogtreecommitdiffstats
path: root/src/tab-chrome.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-01 05:33:55 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-01 05:33:55 (EDT)
commitcb4d8dc5e1ed1aeec54e17557216b703a064d303 (patch)
tree3ec9c81f04e84a437076fbde2af906a73e66446a /src/tab-chrome.h
parent60d286b534fcff8997852be301d0ab56a69bf6cd (diff)
downloadmarquee-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.h')
-rw-r--r--src/tab-chrome.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tab-chrome.h b/src/tab-chrome.h
index caa5a66..0fa8640 100644
--- a/src/tab-chrome.h
+++ b/src/tab-chrome.h
@@ -27,7 +27,10 @@ typedef struct MqTabChrome MqTabChrome;
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>
+#include "tab.h"
+
struct MqTabChrome {
+ MqTab *tab;
GtkWidget *container;
GtkWidget *back_forward_box;
GtkWidget *back_button;
@@ -46,7 +49,7 @@ struct MqTabChrome {
};
MqTabChrome *
-mq_tab_chrome_new(const gchar *uri);
+mq_tab_chrome_new(MqTab *tab, const gchar *uri);
GtkWidget *
mq_tab_chrome_get_container(MqTabChrome *chrome);