svn revision 26049 (2007-09-05) I fixed a few compiler warnings and a GTK assertion warning. Please see the attached patch (first comment). It should be self-explanatory.
Created attachment 1351 fix some warnings
Patch applied. Thank you Diego.