view CODING @ 653:e06947d07086

Expand tilde with file: and view: remote parameters. Now these are working: geeqie -r file:~/dir geeqie -r view:~user/file
author zas_
date Tue, 13 May 2008 16:09:43 +0000
parents f31ae0d9e163
children f20e7cebcb12
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;
x = i * (j / 2);


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

Functions without any parameter should be declared using void:
--------------------------------------------------------------
gint function(void)
{
...
}

Use glib types:
---------------
Please use glib types when possible (ie. gint and gchar instead of int and char)
.

Use glib functions:
-------------------
Use glib functions when possible (ie. g_ascii_isspace() instead of isspace()).
Check if used functions are not deprecated.

Others:
-------
Check twice the indentation and spurious whitespaces.

Try to use explicit variable and function names.