From 6fb7b7bc6f0ec9208ae7d573cdd3982958e45564 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 25 Nov 2024 19:25:47 +0000 Subject: [PATCH] git-changebar: Rename variable bool for C23 compatibility --- git-changebar/src/gcb-plugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/git-changebar/src/gcb-plugin.c b/git-changebar/src/gcb-plugin.c index dd054e44e..8704fefec 100644 --- a/git-changebar/src/gcb-plugin.c +++ b/git-changebar/src/gcb-plugin.c @@ -1411,9 +1411,9 @@ read_setting_boolean (GKeyFile *kf, const gchar *key, gpointer value) { - gboolean *bool = value; + gboolean *boolean = value; - *bool = utils_get_setting_boolean (kf, group, key, *bool); + *boolean = utils_get_setting_boolean (kf, group, key, *boolean); } static void @@ -1422,9 +1422,9 @@ write_setting_boolean (GKeyFile *kf, const gchar *key, gconstpointer value) { - const gboolean *bool = value; + const gboolean *boolean = value; - g_key_file_set_boolean (kf, group, key, *bool); + g_key_file_set_boolean (kf, group, key, *boolean); } /* loads @filename in @kf and return %FALSE if failed, emitting a warning