Added compatibility with C++, fixed some headers order and miss.
Surrounded all headers declarations with the G_BEGIN_DECLS/G_END_DECLS pair to be compatible with C++ (now the headers can be included in C++ sources). Added some missing includes and reordered some others: In C files: * Always include first the module's header: This way, each header is directly checked for self-dependency. * then a blank line to separate the module's header; * then the external library headers: The external headers are not too affected by our own stuff, and it may be easier to detect conflicts. * then another blank line to separate the internal headers; * then finally the internal headers.
Showing with 47 additions and 9 deletions