diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 10 | ||||
-rw-r--r-- | embed/ephy-web-view.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 5f1a39177..a7758f9e0 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -170,15 +170,6 @@ load_status_changed_cb (WebKitWebView *view, } static void -hovering_over_link_cb (WebKitWebView *web_view, - char *title, - char *location, - EphyEmbed *embed) -{ - ephy_web_view_set_link_message (EPHY_WEB_VIEW (web_view), location); -} - -static void zoom_changed_cb (WebKitWebView *web_view, GParamSpec *pspec, EphyEmbed *embed) @@ -806,7 +797,6 @@ ephy_embed_constructed (GObject *object) g_object_connect (web_view, "signal::notify::load-status", G_CALLBACK (load_status_changed_cb), embed, "signal::resource-request-starting", G_CALLBACK (resource_request_starting_cb), embed, - "signal::hovering-over-link", G_CALLBACK (hovering_over_link_cb), embed, "signal::download-requested", G_CALLBACK (download_requested_cb), embed, "signal::notify::zoom-level", G_CALLBACK (zoom_changed_cb), embed, NULL); diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 21925321b..19498da67 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1344,6 +1344,15 @@ uri_changed_cb (WebKitWebView *web_view, } static void +hovering_over_link_cb (EphyWebView *web_view, + char *title, + char *location, + gpointer data) +{ + ephy_web_view_set_link_message (web_view, location); +} + +static void ephy_web_view_constructed (GObject *object) { EphyWebView *web_view = EPHY_WEB_VIEW (object); @@ -1351,6 +1360,7 @@ ephy_web_view_constructed (GObject *object) g_object_connect (web_view, "signal::notify::title", G_CALLBACK (title_changed_cb), NULL, "signal::notify::uri", G_CALLBACK (uri_changed_cb), NULL, + "signal::hovering-over-link", G_CALLBACK (hovering_over_link_cb), NULL, NULL); } |