From 4e6d3802bb2dea8b55d92541d26306e2b6128704 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Sep 2017 02:26:25 -0400 Subject: mq_tab_chrome_new(): Save tab_image and tab_label --- (limited to 'src') diff --git a/src/tab-chrome.c b/src/tab-chrome.c index ac48c1a..169a8a0 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -74,6 +74,9 @@ mq_tab_chrome_new(gchar *uri, GtkWidget *tab_image, GtkWidget *tab_label) chrome = malloc(sizeof(*chrome)); + chrome->tab_image = tab_image; + chrome->tab_label = tab_label; + chrome->container = gtk_grid_new(); gtk_grid_attach(GTK_GRID(chrome->container), navigation_toolbar_new(chrome, uri), 0, 0, 1, 1); diff --git a/src/tab-chrome.h b/src/tab-chrome.h index cea26d9..96385a3 100644 --- a/src/tab-chrome.h +++ b/src/tab-chrome.h @@ -26,6 +26,8 @@ #include typedef struct { + GtkWidget *tab_image; + GtkWidget *tab_label; GtkWidget *container; GtkWidget *uri_entry; WebKitWebView *web_view; -- cgit v0.9.1