view CODING @ 609:b690cecbf5b8

Use function(void) instead of function() for declaring functions which do not take any parameters at all. It respects current Geeqie coding style more.
author zas_
date Fri, 09 May 2008 07:32:30 +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