Preparation for migration to GTK 3.0

Changed references to deprecated symbols, etc.