Backward GTK 3.6 compatibility

Previous commit fixed build against new GTK, but broke build against GTK 3.6.x.
Adding compatibility wrap-up to fix build for older GTK as well.
Merge pull request #23 from miska/master

GTK 3.6.x backward compatibility