Remove (delete :>) deletion_interface()
authorQuentin Rameau <quinq@fifth.space>
Thu, 19 Nov 2015 13:15:28 +0000 (14:15 +0100)
committerQuentin Rameau <quinq@fifth.space>
Thu, 19 Nov 2015 23:34:21 +0000 (00:34 +0100)
surf.c

diff --git a/surf.c b/surf.c
index a93e951..7f859f9 100644 (file)
--- 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;
 }