Added missing parameter for Moon phase calculation call

This commit is contained in:
Gergely Polonkai 2013-10-04 01:43:55 +02:00
parent 5dcd5cdd17
commit c5a82b2aae
2 changed files with 2 additions and 1 deletions

View File

@ -974,7 +974,7 @@ gswe_moment_get_moon_phase(GsweMoment *moment, GError **err)
return moment->priv->moon_phase;
}
gswe_moon_phase_data_calculate_by_timestamp(moment->priv->timestamp, err);
gswe_moon_phase_data_calculate_by_timestamp(moment->priv->moon_phase, moment->priv->timestamp, err);
if (!err || !*err) {
moment->priv->moon_phase_revision = moment->priv->revision;

View File

@ -21,6 +21,7 @@
#include <glib-object.h>
#include "gswe-types.h"
#include "gswe-timestamp.h"
G_BEGIN_DECLS