diff options
Diffstat (limited to 'src/tab-chrome.c')
-rw-r--r-- | src/tab-chrome.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 9f78d75..faedcfd 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -85,7 +85,6 @@ navigation_toolbar_new(MqTabChrome *chrome, const gchar *uri) { GtkToolbar *navigation_toolbar; GtkToolItem *back_forward_tool_item; - GtkWidget *back_forward_event_box; GtkToolItem *uri_tool_item; GtkToolItem *home_button; GtkToolItem *menu_button; @@ -93,11 +92,8 @@ navigation_toolbar_new(MqTabChrome *chrome, const gchar *uri) navigation_toolbar = GTK_TOOLBAR(gtk_toolbar_new()); /* Back/forward button box */ - back_forward_tool_item = gtk_tool_item_new(); - back_forward_event_box = mq_back_forward_button_box_new(chrome->tab, + back_forward_tool_item = mq_back_forward_button_box_new(chrome->tab, chrome->web_view); - gtk_container_add(GTK_CONTAINER(back_forward_tool_item), - back_forward_event_box); gtk_toolbar_insert(navigation_toolbar, back_forward_tool_item, -1); /* Stop/reload button */ |