summaryrefslogtreecommitdiffstats
path: root/src/tab.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-24 23:25:35 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-24 23:25:35 (EDT)
commit17bb4d51e0d17ebf632a02bff5ef0e12dbc5c69b (patch)
treec5fc945ea5ce27b6fdd55c6b5cd93002045d379e /src/tab.h
parent34994d68e076ff5dc9037fe3752bf987cee3533d (diff)
downloadmarquee-17bb4d51e0d17ebf632a02bff5ef0e12dbc5c69b.zip
marquee-17bb4d51e0d17ebf632a02bff5ef0e12dbc5c69b.tar.gz
marquee-17bb4d51e0d17ebf632a02bff5ef0e12dbc5c69b.tar.bz2
mq_tab_new(), mq_tab_new_relative(): Change argument type to (MqWindow *)
And save the window in the MqTab struct.
Diffstat (limited to 'src/tab.h')
-rw-r--r--src/tab.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tab.h b/src/tab.h
index 6316b02..d6ce5d9 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -27,6 +27,7 @@ typedef struct MqTab MqTab;
#include <gtk/gtk.h>
#include "application.h"
+#include "window.h"
#include "tab-chrome.h"
#include "tab-body.h"
@@ -39,6 +40,7 @@ struct MqTab {
guint position;
guint tree_size;
MqApplication *application;
+ MqWindow *window;
GtkWidget *container;
MqTabChrome *chrome;
MqTabBody *body;
@@ -52,10 +54,10 @@ struct MqTab {
};
MqTab *
-mq_tab_new(MqApplication *application, gchar *uri, MqTab *source);
+mq_tab_new(MqWindow *window, gchar *uri, MqTab *source);
MqTab *
-mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *source);
+mq_tab_new_relative(MqWindow *window, gchar *uri, MqTab *source);
MqTab *
mq_tab_new_root(void);