From 200328e264b78c06a0ac28ad1b1b8fa1d27dac13 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 01:53:40 -0400 Subject: MqWebView: Rewrite URI from primary clipboard Allow URIs like "about:" and "about:preferences" to be loaded on middle click. --- diff --git a/src/web-view.c b/src/web-view.c index f87a845..470be1e 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -507,7 +507,7 @@ static void clipboard_text_recv_cb(GtkClipboard G_GNUC_UNUSED *clipboard, const gchar *text, MqWebView *web_view) { - webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), text); + mq_web_view_load_uri(web_view, text); } /* This callback is a hack to determine on middle mouse click whether to open a -- cgit v0.9.1