diff options
-rw-r--r-- | src/tab-chrome.c | 3 | ||||
-rw-r--r-- | src/tab-chrome.h | 2 |
2 files changed, 5 insertions, 0 deletions
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 <webkit2/webkit2.h> typedef struct { + GtkWidget *tab_image; + GtkWidget *tab_label; GtkWidget *container; GtkWidget *uri_entry; WebKitWebView *web_view; |