Replace GTK_WIDGET macro with a cast.