Added missing parameter for Moon phase calculation call
This commit is contained in:
parent
5dcd5cdd17
commit
c5a82b2aae
@ -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;
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "gswe-types.h"
|
||||
#include "gswe-timestamp.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user