diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web-view.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/web-view.c b/src/web-view.c index 7d3df3b..2eb10d3 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -34,15 +34,16 @@ #include "web-view-schemes/schemes.h" struct _MqWebView { - WebKitWebView parent_instance; - MqTabPage *tab_page; - MqWebViewScheme scheme; - gchar *uri; - MqConfig *config; - WebKitHitTestResult *hit_test_result; - WebKitHitTestResult *mouse_target_hit_test_result; - GtkComboBox *save_type_combo_box; - GFile *save_file; + WebKitWebView parent_instance; + MqTabPage *tab_page; + MqWebViewScheme scheme; + MqWebViewSchemeMethods *scheme_methods; + gchar *uri; + MqConfig *config; + WebKitHitTestResult *hit_test_result; + WebKitHitTestResult *mouse_target_hit_test_result; + GtkComboBox *save_type_combo_box; + GFile *save_file; }; enum { @@ -614,6 +615,8 @@ constructed(GObject *object) web_view = MQ_WEB_VIEW(object); + web_view->scheme_methods = &mq_web_view_normal_scheme_methods; + web_view->config = mq_application_get_config( mq_tab_page_get_application(web_view->tab_page)); |