From d5416d115ce514c287a8caf604f67a4cd566dd40 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 12 Oct 2017 15:49:58 -0400 Subject: MqTab: Move mq_tab_chrome_new() call --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index 021c04c..d1104ab 100644 --- a/src/tab.c +++ b/src/tab.c @@ -436,12 +436,13 @@ init_non_root(const gchar *uri, MqTab *source) mq_tab_populate_tab(tab); - tab->chrome = mq_tab_chrome_new(tab, uri); tab->web_view = WEBKIT_WEB_VIEW(mq_web_view_new(tab, uri)); g_signal_connect(tab->web_view, "notify::favicon", G_CALLBACK(favicon_cb), tab); 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->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); -- cgit v0.9.1