summaryrefslogtreecommitdiff
path: root/src/view.c
diff options
context:
space:
mode:
authorportix <none@none>2013-01-09 17:35:39 +0100
committerportix <none@none>2013-01-09 17:35:39 +0100
commit1d3c857fb1b1c1215065166d9fdb0c6841c9d49f (patch)
tree16e2fdfad242936d25a77a3bc4560c0fa83247b0 /src/view.c
parente328e0cfa14bcdde0990eb89cce75ae5b7cd68f3 (diff)
downloaddwb-1d3c857fb1b1c1215065166d9fdb0c6841c9d49f.zip
Remove hovering over link signal, the same could be achieved with native hovering-over-link
Diffstat (limited to 'src/view.c')
-rw-r--r--src/view.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/view.c b/src/view.c
index 82f0aa9b..ffe433e8 100644
--- a/src/view.c
+++ b/src/view.c
@@ -392,13 +392,6 @@ view_inspect_web_view_cb(WebKitWebInspector *inspector, WebKitWebView *wv, GList
static void
view_hovering_over_link_cb(WebKitWebView *web, char *title, char *uri, GList *gl)
{
- if (EMIT_SCRIPT(HOVERING_OVER_LINK))
- {
- char *json = util_create_json(2, CHAR, "uri", uri, CHAR, "title", title);
- ScriptSignal signal = { SCRIPTS_WV(gl), SCRIPTS_SIG_META(json, HOVERING_OVER_LINK, 0) };
- scripts_emit(&signal);
- g_free(json);
- }
if (uri)
{
VIEW(gl)->status->hover_uri = g_strdup(uri);