summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab.c2
-rw-r--r--src/tab.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index d1da243..12efad2 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -33,6 +33,8 @@ mq_tab_new(gchar *uri, GtkWidget *tab_image, GtkWidget *tab_label)
MqTab *tab;
tab = malloc(sizeof(*tab));
+ tab->tab_image = tab_image;
+ tab->tab_label = tab_label;
tab->chrome = mq_tab_chrome_new(uri, tab_image, tab_label);
tab->body = mq_tab_body_new(uri);
tab->web_view = mq_tab_body_get_web_view(tab->body);
diff --git a/src/tab.h b/src/tab.h
index 14dc49d..19c0d36 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -31,6 +31,8 @@ typedef struct {
GtkWidget *container;
MqTabChrome *chrome;
MqTabBody *body;
+ GtkWidget *tab_image;
+ GtkWidget *tab_label;
guint tab_position;
WebKitWebView *web_view;
} MqTab;