summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab.c')
-rw-r--r--src/tab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tab.c b/src/tab.c
index d1104ab..4d09cab 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -442,8 +442,7 @@ init_non_root(const gchar *uri, MqTab *source)
g_signal_connect(tab->web_view, "notify::title",
G_CALLBACK(title_cb), tab);
- tab->chrome = mq_tab_chrome_new(tab, uri);
- mq_tab_chrome_set_web_view(tab->chrome, MQ_WEB_VIEW(tab->web_view));
+ tab->chrome = mq_tab_chrome_new(tab, MQ_WEB_VIEW(tab->web_view), uri);
tab->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start(GTK_BOX(tab->container),