diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab.c | 8 | ||||
-rw-r--r-- | src/tab.h | 4 |
2 files changed, 6 insertions, 6 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; } @@ -29,7 +29,7 @@ typedef struct MqTab MqTab; #include "application.h" #include "window.h" #include "tab-chrome.h" -#include "tab-body.h" +#include "web-view.h" struct MqTab { MqTab *root; @@ -44,7 +44,7 @@ struct MqTab { MqWindow *window; GtkWidget *container; MqTabChrome *chrome; - MqTabBody *body; + MqWebView *body; GtkWidget *tab; GtkWidget *tab_image; GtkWidget *tab_label; |