From 7be3c6d7181ee6646ab619cdb4c82e5dc5e865d5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 22:43:22 -0400 Subject: MqWebView: Delete scheme ready callback --- diff --git a/src/web-view.c b/src/web-view.c index 5feaf75..887bedd 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -60,15 +60,6 @@ struct _MqWebViewClass { G_DEFINE_TYPE(MqWebView, mq_web_view, WEBKIT_TYPE_WEB_VIEW) -static void -ready_cb(MqWebViewScheme G_GNUC_UNUSED *scheme, MqWebView *web_view) -{ - if (web_view->uri) { - webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), - web_view->uri); - } -} - static gboolean context_menu_cb(MqWebView *web_view, WebKitContextMenu *context_menu, GdkEvent *event, WebKitHitTestResult *hit_test_result) @@ -334,8 +325,6 @@ mq_web_view_class_init(MqWebViewClass *klass) static void mq_web_view_init(MqWebView *web_view) { - mq_web_view_scheme_connect_ready_callback(&web_view->scheme, ready_cb); - g_signal_connect(web_view, "context-menu", G_CALLBACK(context_menu_cb), NULL); g_signal_connect(web_view, "notify::uri", -- cgit v0.9.1