From d6b1aa460549167d3f6ccb4ae69b672dd2840313 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 01 Nov 2017 18:22:43 -0400 Subject: 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) ^ --- (limited to 'src') 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); -- cgit v0.9.1