You have to remember A Princess of Mars had a very high influence on the first star wars film in 1977.
Before Leia was Luke's sister.
Luke could have been John Carter and Leia Dejah Thoris the Princess.
Lucas even tried to get the illustrator of those books Frazetta to do a star wars poster.
And the poster by jung that was released is a direct ripoff of the cover Frazetta drew for A Princess Of mars.
twin suns replace the twin moons, and the characters wear more clothes but the characters heroic pose is much the same. Except the change of Leia being less a damsel in distress, and she carries a gun.
I hope the Pixar film updates the female character of Dejah Thoris to be a strong character and does away with the ideas at the time, the book was written in 1911 when woman did not even have the right to vote.
Some novelist already did an update where the male character is the useless in distress mode and the female character is the hero, LOL. Id like it to be somewhere in the middle. Imagine the characters are equals. Star Wars was a step in the right direction but leia was hardly Luke or Hans equal.