Skip to content

Commit 6fb7b7b

Browse files
committed
git-changebar: Rename variable bool for C23 compatibility
1 parent 8d924fd commit 6fb7b7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

git-changebar/src/gcb-plugin.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1411,9 +1411,9 @@ read_setting_boolean (GKeyFile *kf,
14111411
const gchar *key,
14121412
gpointer value)
14131413
{
1414-
gboolean *bool = value;
1414+
gboolean *boolean = value;
14151415

1416-
*bool = utils_get_setting_boolean (kf, group, key, *bool);
1416+
*boolean = utils_get_setting_boolean (kf, group, key, *boolean);
14171417
}
14181418

14191419
static void
@@ -1422,9 +1422,9 @@ write_setting_boolean (GKeyFile *kf,
14221422
const gchar *key,
14231423
gconstpointer value)
14241424
{
1425-
const gboolean *bool = value;
1425+
const gboolean *boolean = value;
14261426

1427-
g_key_file_set_boolean (kf, group, key, *bool);
1427+
g_key_file_set_boolean (kf, group, key, *boolean);
14281428
}
14291429

14301430
/* loads @filename in @kf and return %FALSE if failed, emitting a warning

0 commit comments

Comments
 (0)