summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 15:49:58 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 15:49:58 (EDT)
commitd5416d115ce514c287a8caf604f67a4cd566dd40 (patch)
treeee18f87130f4f891b2b5d5a920dbc101ca1a1c69
parent283f202e5c81198a65b39c4b7d9dc69a61f951e3 (diff)
downloadmarquee-d5416d115ce514c287a8caf604f67a4cd566dd40.zip
marquee-d5416d115ce514c287a8caf604f67a4cd566dd40.tar.gz
marquee-d5416d115ce514c287a8caf604f67a4cd566dd40.tar.bz2
MqTab: Move mq_tab_chrome_new() call
-rw-r--r--src/tab.c3
1 files changed, 2 insertions, 1 deletions
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);