diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-12 15:56:37 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-12 15:56:37 (EDT) |
commit | 7bfc88fdfe12e7d67a5174b086b87e32a3b0898c (patch) | |
tree | 7f1f518b351ac0cb979cd18419f38d1298672604 /src/tab.c | |
parent | d5416d115ce514c287a8caf604f67a4cd566dd40 (diff) | |
download | marquee-7bfc88fdfe12e7d67a5174b086b87e32a3b0898c.zip marquee-7bfc88fdfe12e7d67a5174b086b87e32a3b0898c.tar.gz marquee-7bfc88fdfe12e7d67a5174b086b87e32a3b0898c.tar.bz2 |
MqTabChrome: Get Web view in mq_tab_chrome_new()
Also remove mq_tab_chrome_set_web_view() and reorganize static
functions.
And update calls in MqTab.
Diffstat (limited to 'src/tab.c')
-rw-r--r-- | src/tab.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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), |