GTK3 compatibility.