Prefer GTK+ style casts rather than C-style casts.