csb/cinnamon-settings-daemon/48da3c4763bea93ea3e1d2ba2e2dfdb7f41d8afc.patch
Willy Sudiarto Raharjo 8f33d1f091 cinnamon-settings-daemon: Fix build with GCC 14.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2024-06-11 23:38:48 +07:00

28 lines
1.1 KiB
Diff

From 48da3c4763bea93ea3e1d2ba2e2dfdb7f41d8afc Mon Sep 17 00:00:00 2001
From: Leigh Scott <leigh123linux@gmail.com>
Date: Mon, 5 Feb 2024 16:07:03 +0000
Subject: [PATCH] Fix compile issue (#386)
(Warning becomes an error due to gcc 14 changes)
---
plugins/keyboard/gkbd-configuration.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/keyboard/gkbd-configuration.c b/plugins/keyboard/gkbd-configuration.c
index ca394922..6d8e6829 100644
--- a/plugins/keyboard/gkbd-configuration.c
+++ b/plugins/keyboard/gkbd-configuration.c
@@ -340,11 +340,11 @@ gkbd_configuration_get_xkl_engine (GkbdConfiguration *configuration)
const char * const *
gkbd_configuration_get_group_names (GkbdConfiguration *configuration)
{
- return configuration->priv->full_group_names;
+ return (const char * const *)configuration->priv->full_group_names;
}
const char * const *
gkbd_configuration_get_short_group_names (GkbdConfiguration *configuration)
{
- return configuration->priv->short_group_names;
+ return (const char * const *)configuration->priv->short_group_names;
}