The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Now calling gswe_init() in GsweMoment constructors

This is to satisfy #8, although it's not fully implemented yet.
pull/16/head
Gergely Polonkai 9 years ago
parent 84195964ab
commit 6d84d650b5
  1. 2
      src/gswe-moment.c
  2. 1
      src/swe-glib-private.h
  3. 4
      src/swe-glib.c

@ -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);
}

@ -30,6 +30,7 @@
#include "gswe-house-system-info-private.h"
#include "gswe-house-data-private.h"
extern gboolean gswe_initialized;
extern gchar *gswe_ephe_path;
extern GsweTimestamp *gswe_full_moon_base_date;
extern GHashTable *gswe_planet_info_table;

@ -146,6 +146,10 @@ gswe_init(void)
GsweAspectInfo *aspect_info;
GsweAntiscionAxisInfo *antiscion_axis_info;
if (gswe_initialized) {
return;
}
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");

Loading…
Cancel
Save