summaryrefslogtreecommitdiffstats
path: root/filters/chalk
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2026-01-04 03:02:18 +0100
committerSlávek Banko <slavek.banko@axis.cz>2026-01-04 15:03:14 +0100
commitd4ef912051fb54339d1a6bf383ee7b1228846359 (patch)
tree1f5c8899564eee0e1e5cdf74c3d43c8587026c54 /filters/chalk
parent70268de9c88a0cac356ba26d01f45aecc57340ef (diff)
downloadkoffice-master.tar.gz
koffice-master.zip
Replace TRUE/FALSE with boolean values true/false.HEADmaster
Finishing the remaining renames from #93. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'filters/chalk')
-rw-r--r--filters/chalk/xcf/xcf/xcf-load.cpp2
-rw-r--r--filters/chalk/xcf/xcf/xcf-save.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/filters/chalk/xcf/xcf/xcf-load.cpp b/filters/chalk/xcf/xcf/xcf-load.cpp
index 034e5261a..9155b5057 100644
--- a/filters/chalk/xcf/xcf/xcf-load.cpp
+++ b/filters/chalk/xcf/xcf/xcf-load.cpp
@@ -119,7 +119,7 @@ xcf_load_image (XcfInfo * info)
info->cp += xcf_read_int32 (info->fp, (TQ_INT32 *) & height, 1);
info->cp += xcf_read_int32 (info->fp, (TQ_INT32 *) & image_type, 1);
- gimage = gimp_create_image (gimp, width, height, image_type, FALSE);
+ gimage = gimp_create_image (gimp, width, height, image_type, 0);
gimp_image_undo_disable (gimage);
diff --git a/filters/chalk/xcf/xcf/xcf-save.cpp b/filters/chalk/xcf/xcf/xcf-save.cpp
index 25abdfa6a..ffcdafbf5 100644
--- a/filters/chalk/xcf/xcf/xcf-save.cpp
+++ b/filters/chalk/xcf/xcf/xcf-save.cpp
@@ -270,7 +270,7 @@ xcf_save_image (XcfInfo *info,
floating_layer = gimp_image_floating_sel (gimage);
if (floating_layer)
- floating_sel_relax (floating_layer, FALSE);
+ floating_sel_relax (floating_layer, 0);
/* write out the tag information for the image */
if (info->file_version > 0)
@@ -403,7 +403,7 @@ xcf_save_image (XcfInfo *info,
saved_pos = info->cp;
if (floating_layer)
- floating_sel_rigor (floating_layer, FALSE);
+ floating_sel_rigor (floating_layer, 0);
return !ferror(info->fp);
}
@@ -518,11 +518,11 @@ xcf_save_layer_props (XcfInfo *info,
else
{
xcf_check_error (xcf_save_prop (info, gimage, PROP_APPLY_MASK,
- error, FALSE));
+ error, 0));
xcf_check_error (xcf_save_prop (info, gimage, PROP_EDIT_MASK,
- error, FALSE));
+ error, 0));
xcf_check_error (xcf_save_prop (info, gimage, PROP_SHOW_MASK,
- error, FALSE));
+ error, 0));
}
xcf_check_error (xcf_save_prop (info, gimage, PROP_OFFSETS, error,