summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-01 18:22:43 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-01 18:22:43 (EDT)
commitd6b1aa460549167d3f6ccb4ae69b672dd2840313 (patch)
tree91abc8817a5825492a8d298aa82bce7ff2ae4fc4
parent35c1ffb611b603a9550f596f719582f18a1706c1 (diff)
downloadmarquee-d6b1aa460549167d3f6ccb4ae69b672dd2840313.zip
marquee-d6b1aa460549167d3f6ccb4ae69b672dd2840313.tar.gz
marquee-d6b1aa460549167d3f6ccb4ae69b672dd2840313.tar.bz2
mq_web_view_get_scheme(): Declare with "const" attribute
Fixes: CC src/marquee-web-view.o src/web-view.c: In function ‘mq_web_view_get_scheme’: src/web-view.c:355:1: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const] mq_web_view_get_scheme(MqWebView *web_view) ^
-rw-r--r--src/web-view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web-view.h b/src/web-view.h
index 30de801..1fc4091 100644
--- a/src/web-view.h
+++ b/src/web-view.h
@@ -54,7 +54,7 @@ MqWebView *
mq_web_view_new(MqTabPage *tab_page, const gchar *uri);
MqWebViewScheme *
-mq_web_view_get_scheme(MqWebView *web_view);
+mq_web_view_get_scheme(MqWebView *web_view) G_GNUC_CONST;
MqConfig *
mq_web_view_get_config(MqWebView *web_view);