Merge makeHardcodeGsettingsPatch: Fix `schemaExistsFunction` w/o stdbool.h (#408074)

Changed files
+4 -4
pkgs
build-support
make-hardcode-gsettings-patch
test
make-hardcode-gsettings-patch
fixtures
example-project-patched-with-exists-fn
+1 -1
pkgs/build-support/make-hardcode-gsettings-patch/hardcode-gsettings.cocci
···
identifier schema_exists_fn.fn;
@@
-fn(SCHEMA_ID)
-
+true
+
+TRUE
+3 -3
pkgs/test/make-hardcode-gsettings-patch/fixtures/example-project-patched-with-exists-fn/main.c
···
}
void exists_fn_guard() {
-
if (!true) {
+
if (!TRUE) {
return;
}
···
}
void exists_fn_nested() {
-
if (true) {
+
if (TRUE) {
g_autoptr(GSettings) settings = NULL;
{
g_autoptr(GSettingsSchemaSource) schema_source;
···
}
void exists_fn_unknown() {
-
if (true) {
+
if (TRUE) {
g_autoptr(GSettings) settings = NULL;
{
g_autoptr(GSettingsSchemaSource) schema_source;