Skip to content

Commit a8aaca9

Browse files
committed
Merge pull request #1389 from cjmayo/git-changebar-bool
git-changebar: Rename bool for C23 compatibility
2 parents e45743b + f1148d5 commit a8aaca9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

git-changebar/src/gcb-plugin.c

Lines changed: 4 additions & 4 deletions
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)