Changes to make possible compiling in GTK3 mode. Needs --disable-caja flag set!
Merge pull request #76 from Glorf/master

GTK3-compatibility fixes.