summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-chrome.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 8f36cb4..c7306da 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -768,12 +768,6 @@ mq_tab_chrome_get_container(MqTabChrome *chrome)
return chrome->container;
}
-const gchar *
-web_view_get_uri(MqWebView *web_view)
-{
- return mq_web_view_get_uri(web_view);
-}
-
static void
load_changed_cb(MqWebView *web_view, WebKitLoadEvent load_event,
MqTabChrome *chrome)
@@ -784,7 +778,7 @@ load_changed_cb(MqWebView *web_view, WebKitLoadEvent load_event,
case WEBKIT_LOAD_STARTED:
case WEBKIT_LOAD_REDIRECTED:
case WEBKIT_LOAD_COMMITTED:
- uri = web_view_get_uri(web_view);
+ uri = mq_web_view_get_uri(web_view);
gtk_entry_set_text(GTK_ENTRY(chrome->uri_entry), uri);
gtk_entry_set_attributes(GTK_ENTRY(chrome->uri_entry),
NULL);
@@ -815,7 +809,7 @@ mouse_target_changed_cb(MqWebView G_GNUC_UNUSED *web_view,
{
const gchar *uri;
- uri = web_view_get_uri(web_view);
+ uri = mq_web_view_get_uri(web_view);
if (webkit_hit_test_result_context_is_link(hit_test_result)) {
if (gtk_widget_has_focus(chrome->uri_entry)) {
} else if (chrome->hovered_link_uri &&
@@ -890,7 +884,7 @@ uri_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *paramspec,
{
const gchar *uri;
- uri = web_view_get_uri(web_view);
+ uri = mq_web_view_get_uri(web_view);
gtk_entry_set_text(GTK_ENTRY(chrome->uri_entry), uri);
gtk_entry_set_attributes(GTK_ENTRY(chrome->uri_entry), NULL);
}