diff options
Diffstat (limited to 'src/web-view-schemes')
-rw-r--r-- | src/web-view-schemes/normal.c | 2 | ||||
-rw-r--r-- | src/web-view-schemes/schemes.h | 4 | ||||
-rw-r--r-- | src/web-view-schemes/view-source.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/web-view-schemes/normal.c b/src/web-view-schemes/normal.c index 0d96fea..b206397 100644 --- a/src/web-view-schemes/normal.c +++ b/src/web-view-schemes/normal.c @@ -777,7 +777,7 @@ save_file(MqWebView *web_view, MqWebViewScheme *scheme) gtk_widget_show_all(dialog); } -const MqWebViewSchemeMethods mq_web_view_normal_scheme_methods = { +MqWebViewSchemeMethods mq_web_view_normal_scheme_methods = { .match_uri = match_uri, .finalize = finalize, .rewrite_uri = rewrite_uri, diff --git a/src/web-view-schemes/schemes.h b/src/web-view-schemes/schemes.h index 1b52a9f..adef875 100644 --- a/src/web-view-schemes/schemes.h +++ b/src/web-view-schemes/schemes.h @@ -59,8 +59,8 @@ typedef struct { void (*save_file) (MqWebView *, MqWebViewScheme *); } MqWebViewSchemeMethods; -extern const MqWebViewSchemeMethods mq_web_view_normal_scheme_methods; -extern const MqWebViewSchemeMethods mq_web_view_view_source_scheme_methods; +extern MqWebViewSchemeMethods mq_web_view_normal_scheme_methods; +extern MqWebViewSchemeMethods mq_web_view_view_source_scheme_methods; G_END_DECLS diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c index faea4d5..f5619d1 100644 --- a/src/web-view-schemes/view-source.c +++ b/src/web-view-schemes/view-source.c @@ -219,7 +219,7 @@ save_file(MqWebView *web_view, MqWebViewScheme *scheme) *scheme = *scheme; } -const MqWebViewSchemeMethods mq_web_view_view_source_scheme_methods = { +MqWebViewSchemeMethods mq_web_view_view_source_scheme_methods = { .match_uri = match_uri, .finalize = finalize, .rewrite_uri = rewrite_uri, |