Minor compilation warnings removed, particularly with respect to
Windows building.


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden/trunk@3523 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1
A better fix to the template X Image handling. Blinding calling
ckalloc and ckfree works for Windows, but then causes crashes on Unix
for the same reasons we had crashes on Windows when using malloc/free.

We now pick and choose which functions to use based on the OS.


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden/trunk@3524 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1
Fix when cross-compiling. (Missing int*_t)


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden/trunk@3525 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1
Fixed a bizarre red/blue colour swap on Windows. It seems to have been
there several years. I'm not sure of the reason for it, but also see
http://sourceforge.net/p/tktoolkit/bugs/1049/ for further discussion
on the matter.

That bug was rejected, but I do wonder if it's still there. Tested
against Windows Server 2008 R2 and Win XP, both had the error and both
now display correctly.


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden/trunk@3526 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1