summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-21 23:37:25 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-21 23:37:25 (EDT)
commit6b7d8cab5abba7e15c69b94e14ed290e02d77e33 (patch)
tree3ef8db7088716b95e8ded74f347d548deba64c34 /src/tab.c
parent9873ccb9a6c6876b9fc7024f89a1f102efaeedcc (diff)
downloadmarquee-6b7d8cab5abba7e15c69b94e14ed290e02d77e33.zip
marquee-6b7d8cab5abba7e15c69b94e14ed290e02d77e33.tar.gz
marquee-6b7d8cab5abba7e15c69b94e14ed290e02d77e33.tar.bz2
MqTab: Save tab image and label in struct
Diffstat (limited to 'src/tab.c')
-rw-r--r--src/tab.c2
1 files changed, 2 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);