diff options
-rw-r--r-- | src/web-view.c | 11 |
1 files changed, 0 insertions, 11 deletions
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", |