diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-30 22:43:22 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-30 22:43:22 (EDT) |
commit | 7be3c6d7181ee6646ab619cdb4c82e5dc5e865d5 (patch) | |
tree | a8858050994139723e884cb601be088880238e96 | |
parent | 7bf90d3283ea337aa1e83212275734907c64450c (diff) | |
download | marquee-7be3c6d7181ee6646ab619cdb4c82e5dc5e865d5.zip marquee-7be3c6d7181ee6646ab619cdb4c82e5dc5e865d5.tar.gz marquee-7be3c6d7181ee6646ab619cdb4c82e5dc5e865d5.tar.bz2 |
MqWebView: Delete scheme ready callback
-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", |