view CODING @ 594:4cfce4ed35e0

Use a dedicated option to enable keywords and comment saving as XMP tags in image's files. This new option is named "save_metadata_in_image_file" in configuration file. User can toggle it through Preferences > Advanced > Miscellaneous > Store keywords and comments as XMP tags in image files. Description of enable_metadata_dirs was modified as an attempt to improve clarity.
author zas_
date Tue, 06 May 2008 12:31:23 +0000
parents 86f4c42afeab
children f31ae0d9e163
line wrap: on
line source

Please keep the general coding style of Geeqie:

Space after if, while and for:

while (...)
for (...)
if (...)

Indentation of {}:

while (...)
	{
	...
	}

if (...)
	{
	...
	}
else
	{
	...
	}

Spaces around operators:

i = 2;

Space after comma:
func(a, b, c);

Use glib functions when possible (ie. g_ascii_isspace() instead of isspace()).
Please use glib types when possible (ie. gint and gchar instead of int and char)
.

Check twice the indentation and spurious whitespaces.

Try to use explicit variable and function names