From: Quentin Rameau Date: Thu, 19 Nov 2015 13:15:28 +0000 (+0100) Subject: Remove (delete :>) deletion_interface() X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=04d46d1791f1ff3b82a665fbc5b574f4e2a70c97;p=surf.git Remove (delete :>) deletion_interface() --- diff --git a/surf.c b/surf.c index a93e951..7f859f9 100644 --- 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; }