Fix for GTK+ 3.8.