summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 02:43:51 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 02:43:51 (EDT)
commit897a1b9db90c68d0621be182823c413071e0062c (patch)
tree591762dfe01f076e18542c85dfc06d882e8383ac /src
parent4482ee54dd3961732b07549f4a9471bf8422ed4c (diff)
downloadmarquee-897a1b9db90c68d0621be182823c413071e0062c.zip
marquee-897a1b9db90c68d0621be182823c413071e0062c.tar.gz
marquee-897a1b9db90c68d0621be182823c413071e0062c.tar.bz2
mq_tab_chrome_set_web_view(): Change argument 2 to (MqWebView *)
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c7
-rw-r--r--src/tab-chrome.h2
-rw-r--r--src/tab.c2
3 files changed, 6 insertions, 5 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index c7306da..92acd63 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -980,9 +980,10 @@ connect_web_view(MqTabChrome *chrome)
}
void
-mq_tab_chrome_set_web_view(MqTabChrome *chrome, WebKitWebView *web_view)
+mq_tab_chrome_set_web_view(MqTabChrome *chrome, MqWebView *web_view)
{
- chrome->web_view = MQ_WEB_VIEW(web_view);
- chrome->find_controller = webkit_web_view_get_find_controller(web_view);
+ chrome->web_view = web_view;
+ chrome->find_controller = webkit_web_view_get_find_controller(
+ WEBKIT_WEB_VIEW(web_view));
connect_web_view(chrome);
}
diff --git a/src/tab-chrome.h b/src/tab-chrome.h
index 2ec5139..6547f20 100644
--- a/src/tab-chrome.h
+++ b/src/tab-chrome.h
@@ -64,6 +64,6 @@ GtkWidget *
mq_tab_chrome_get_container(MqTabChrome *chrome);
void
-mq_tab_chrome_set_web_view(MqTabChrome *chrome, WebKitWebView *web_view);
+mq_tab_chrome_set_web_view(MqTabChrome *chrome, MqWebView *web_view);
#endif
diff --git a/src/tab.c b/src/tab.c
index 7d1d9a7..021c04c 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -442,7 +442,7 @@ init_non_root(const gchar *uri, MqTab *source)
G_CALLBACK(favicon_cb), tab);
g_signal_connect(tab->web_view, "notify::title",
G_CALLBACK(title_cb), tab);
- mq_tab_chrome_set_web_view(tab->chrome, tab->web_view);
+ mq_tab_chrome_set_web_view(tab->chrome, MQ_WEB_VIEW(tab->web_view));
tab->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start(GTK_BOX(tab->container),