summaryrefslogtreecommitdiff
path: root/src/totem-menu.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-06-26 12:15:42 +0200
committerBastien Nocera <hadess@hadess.net>2017-06-26 12:15:42 +0200
commit3333ea1bbfaf3ef815d97e08863b596b66a51ed0 (patch)
tree9c67bc3f3cbef1779f0310bb218bb29ab9eff9cd /src/totem-menu.c
parentfaf3c581e13dc0c2170c648cd6f4191aa83e889f (diff)
downloadtotem-3333ea1bbfaf3ef815d97e08863b596b66a51ed0.tar.gz
all: Fix compile-time warning with GCC7
duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] The warning was added in: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651 just for this purpose. " int foo(const char const *data); ^~~~~~ 1 warning generated. [...] In that case it was clearly a mistake, because the author meant 'const char *const data' [...] "
Diffstat (limited to 'src/totem-menu.c')
-rw-r--r--src/totem-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/totem-menu.c b/src/totem-menu.c
index 7a1c43fb7..cc7cbedb9 100644
--- a/src/totem-menu.c
+++ b/src/totem-menu.c
@@ -343,7 +343,7 @@ totem_app_menu_setup (Totem *totem)
{
GMenuModel *appmenu;
char *accels[] = { NULL, NULL };
- const char const *shortcuts_accels[] = {
+ const char * const shortcuts_accels[] = {
"<Ctrl>H",
"<Ctrl>question",
"<Ctrl>F1",