surf

Simple browser by suckless.org (fork)
git clone git://git.ckyln.com/surf.git
Log | Files | Refs | README | LICENSE

commit 04d46d1791f1ff3b82a665fbc5b574f4e2a70c97
parent 76940a9ab5ad1c9c5add53a1a077dc06369c745c
Author: Quentin Rameau <quinq@fifth.space>
Date:   Thu, 19 Nov 2015 14:15:28 +0100

Remove (delete :>) deletion_interface()

Diffstat:
Msurf.c | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)

diff --git a/surf.c b/surf.c @@ -120,8 +120,6 @@ static gboolean decidepolicy(WebKitWebView *v, WebKitPolicyDecision *d, static void decidenavigation(WebKitPolicyDecision *d, Client *c); static void decidenewwindow(WebKitPolicyDecision *d, Client *c); static void decideresource(WebKitPolicyDecision *d, Client *c); -static gboolean deletion_interface(WebKitWebView *view, - WebKitDOMHTMLElement *arg1, Client *c); static void destroyclient(Client *c); static void destroywin(GtkWidget* w, Client *c); static void die(const char *errstr, ...); @@ -547,12 +545,6 @@ decideresource(WebKitPolicyDecision *d, Client *c) } } -gboolean -deletion_interface(WebKitWebView *view, WebKitDOMHTMLElement *arg1, Client *c) -{ - return FALSE; -} - void destroyclient(Client *c) { @@ -1006,9 +998,6 @@ newview(Client *c, WebKitWebView *rv) g_signal_connect(G_OBJECT(v), "button-release-event", G_CALLBACK(buttonreleased), c); - g_signal_connect(G_OBJECT(v), - "should-show-delete-interface-for-element", - G_CALLBACK(deletion_interface), c); return v; }