aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index dd13195b7..a1e7b7331 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1188,6 +1188,9 @@ uri_changed_cb (WebKitWebView *web_view,
GParamSpec *spec,
gpointer data)
{
+#ifdef HAVE_WEBKIT2
+ /* TODO: update adress when clicking anchor links. */
+#else
char *uri;
const char *current_address;
@@ -1201,6 +1204,7 @@ uri_changed_cb (WebKitWebView *web_view,
ephy_web_view_set_address (EPHY_WEB_VIEW (web_view), uri);
g_free (uri);
+#endif
}
#ifdef HAVE_WEBKIT2