diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-11 17:22:36 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-11 17:22:36 (EDT) |
commit | 16aa3d225464db222c5b5444b61bb8ccfac9ddbc (patch) | |
tree | 0898b447fd40a4c30a7e07988eaff4e6ad98f5c0 /src | |
parent | f6c63159857a99d0871584c4e56832b5e5188058 (diff) | |
download | marquee-16aa3d225464db222c5b5444b61bb8ccfac9ddbc.zip marquee-16aa3d225464db222c5b5444b61bb8ccfac9ddbc.tar.gz marquee-16aa3d225464db222c5b5444b61bb8ccfac9ddbc.tar.bz2 |
MqTab: Use MqWebView
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; |