app: fix a build warning.

Fixes:
> warning: passing argument 1 of ‘GIMP_CONFIG’ discards ‘const’
> qualifier from pointer target type.
This commit is contained in:
Jehan 2020-07-20 15:41:22 +02:00
parent df2083dcb0
commit 73b960aefb
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ gimp_symmetry_to_parasite (const GimpSymmetry *sym)
parasite_name = gimp_symmetry_parasite_name (G_TYPE_FROM_INSTANCE (sym)); parasite_name = gimp_symmetry_parasite_name (G_TYPE_FROM_INSTANCE (sym));
parasite = gimp_config_serialize_to_parasite (GIMP_CONFIG (sym), parasite = gimp_config_serialize_to_parasite ((GimpConfig *) sym,
parasite_name, parasite_name,
GIMP_PARASITE_PERSISTENT, GIMP_PARASITE_PERSISTENT,
NULL); NULL);