Bug fix: gswe_moment_get_all_planets() didn't calculate planet positions before returning the list

This commit is contained in:
Gergely Polonkai 2013-09-18 11:55:26 +02:00
parent 7b28bb519c
commit b7f7f0c02a

View File

@ -721,6 +721,8 @@ gswe_moment_calculate_all_planets(GsweMoment *moment)
GList * GList *
gswe_moment_get_all_planets(GsweMoment *moment) gswe_moment_get_all_planets(GsweMoment *moment)
{ {
gswe_moment_calculate_all_planets(moment);
return moment->priv->planet_list; return moment->priv->planet_list;
} }