From 16aa3d225464db222c5b5444b61bb8ccfac9ddbc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 11 Oct 2017 17:22:36 -0400 Subject: MqTab: Use MqWebView --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index 3e70fe0..98659d7 100644 --- a/src/tab.c +++ b/src/tab.c @@ -25,7 +25,7 @@ #include "tab.h" #include "tab-chrome.h" -#include "tab-body.h" +#include "web-view.h" static void foreach_tab(MqTab *node, void (*cb)(MqTab *node)) @@ -437,8 +437,8 @@ init_non_root(const gchar *uri, MqTab *source) mq_tab_populate_tab(tab); tab->chrome = mq_tab_chrome_new(tab, uri); - tab->body = mq_tab_body_new(tab, uri); - tab->web_view = mq_tab_body_get_web_view(tab->body); + tab->body = mq_web_view_new(tab, uri); + tab->web_view = mq_web_view_get_web_view(tab->body); g_signal_connect(tab->web_view, "notify::favicon", G_CALLBACK(favicon_cb), tab); g_signal_connect(tab->web_view, "notify::title", @@ -449,7 +449,7 @@ init_non_root(const gchar *uri, MqTab *source) gtk_box_pack_start(GTK_BOX(tab->container), mq_tab_chrome_get_container(tab->chrome), FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(tab->container), - mq_tab_body_get_container(tab->body), TRUE, TRUE, 0); + mq_web_view_get_container(tab->body), TRUE, TRUE, 0); return tab; } -- cgit v0.9.1