summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c5
-rw-r--r--src/tab-chrome.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 9cc6619..e9bfb9e 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -217,6 +217,7 @@ navigation_toolbar_new(MqTabChrome *chrome, const gchar *uri)
GtkWidget *back_forward_event_box;
GtkToolItem *uri_tool_item;
GtkToolItem *home_button;
+ GtkToolItem *menu_button;
navigation_toolbar = GTK_TOOLBAR(gtk_toolbar_new());
@@ -276,9 +277,9 @@ navigation_toolbar_new(MqTabChrome *chrome, const gchar *uri)
gtk_toolbar_insert(navigation_toolbar, home_button, -1);
/* Menu button */
- chrome->menu_button = mq_main_menu_new(chrome->tab,
+ menu_button = mq_main_menu_new(chrome->tab,
chrome->find_toolbar, chrome->web_view);
- gtk_toolbar_insert(navigation_toolbar, chrome->menu_button, -1);
+ gtk_toolbar_insert(navigation_toolbar, menu_button, -1);
gtk_widget_set_hexpand(GTK_WIDGET(navigation_toolbar), TRUE);
diff --git a/src/tab-chrome.h b/src/tab-chrome.h
index cc897f4..74fab47 100644
--- a/src/tab-chrome.h
+++ b/src/tab-chrome.h
@@ -44,7 +44,6 @@ struct MqTabChrome {
MqFindToolbar *find_toolbar;
MqWebView *web_view;
gboolean load_failed;
- GtkToolItem *menu_button;
gchar *hovered_link_uri;
};