HACKING 738 Bytes
Newer Older
Jorn Baayen's avatar
Jorn Baayen committed
1
2
3
4
In order to keep the code nice and clean we have a few requirements you'll
need to stick to in order to get your patch accepted:

- use 8-space tabs for indentation
Colin Walters's avatar
Colin Walters committed
5
- curly brackets are NOT on a new line (we are slowly converting the code)
Jorn Baayen's avatar
Jorn Baayen committed
6
7
8
- if statements are written like this: "if (this != that)"
- g_list_next/previous is preferred to list->next or list->previous
- every function should have a prototype
Olivier Martin's avatar
Olivier Martin committed
9
- callback functions have a suffix _cb
Jorn Baayen's avatar
Jorn Baayen committed
10

Colin Walters's avatar
Colin Walters committed
11
  Important comment blocks are written like this:
Jorn Baayen's avatar
Jorn Baayen committed
12
13
14
15
16
  
/**
 * bla_bla_cb: This is an example comment block
 */

Colin Walters's avatar
Colin Walters committed
17
18
19
You may commit small, obvious fixes to this module.  Anything larger
should be run by Colin Walters <walters@debian.org>, unless you
know I've given you blanket commit permission.