GTK 3.6.x backward 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.