Now calling gswe_init() in GsweMoment constructors

This is to satisfy #8, although it's not fully implemented yet.
This commit is contained in:
2013-09-27 03:49:51 +02:00
parent 84195964ab
commit 6d84d650b5
3 changed files with 7 additions and 0 deletions

View File

@@ -397,6 +397,8 @@ gswe_moment_get_house_system(GsweMoment *moment)
GsweMoment *
gswe_moment_new(void)
{
gswe_init();
return (GsweMoment *)g_object_new(GSWE_TYPE_MOMENT, NULL);
}