Update code for GTK 3.14.