diff options
Diffstat (limited to 'src/tab.c')
-rw-r--r-- | src/tab.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |