From 49ec42eebe9ffe33b8e8d53161700f4d05d895b6 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Mon, 16 Sep 2013 13:18:20 +0200 Subject: [PATCH] Renamed GsweAntiscionInfo to GsweAntiscionAxisInfo --- src/gswe-moment.c | 2 +- src/gswe-types.h | 8 ++++---- src/swe-glib.c | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gswe-moment.c b/src/gswe-moment.c index 8d4a3cb..24b7694 100644 --- a/src/gswe-moment.c +++ b/src/gswe-moment.c @@ -1045,7 +1045,7 @@ gswe_moment_get_planet_aspects(GsweMoment *moment, GswePlanet planet, GError **e } static gboolean -find_antiscion(GsweAntiscionAxis *axis, GsweAntiscionInfo *antiscion_info, GsweAntiscionData *antiscion_data) +find_antiscion(GsweAntiscionAxis *axis, GsweAntiscionAxisInfo *antiscion_info, GsweAntiscionData *antiscion_data) { gdouble start_point, axis_position, diff --git a/src/gswe-types.h b/src/gswe-types.h index 72a4220..8b93762 100644 --- a/src/gswe-types.h +++ b/src/gswe-types.h @@ -312,7 +312,7 @@ typedef struct { } GsweAspectInfo; /** - * GsweAntiscionInfo: + * GsweAntiscionAxisInfo: * @axis_id: the identifier of this mirror's axis * @start_sign: represents the sign in whict the mirror axis starts * @name: the name of the mirror @@ -323,7 +323,7 @@ typedef struct { GsweSignInfo *start_sign; gchar *name; gboolean middle_axis; -} GsweAntiscionInfo; +} GsweAntiscionAxisInfo; /** * GsweMoonPhaseData: @@ -422,7 +422,7 @@ GType gswe_aspect_data_get_type(void); * @planet1: the first planet in the antiscion * @planet2: the second planet in the antiscion * @axis: the axis on which this antiscion is - * @antiscion_info: the #GsweAntiscionInfo structure associated with this + * @antiscion_info: the #GsweAntiscionAxisInfo structure associated with this * antiscion * @difference: the difference in degrees between an exact antiscion and this * given antiscion @@ -431,7 +431,7 @@ typedef struct { GswePlanetData *planet1; GswePlanetData *planet2; GsweAntiscionAxis axis; - GsweAntiscionInfo *antiscion_info; + GsweAntiscionAxisInfo *antiscion_info; gdouble difference; } GsweAntiscionData; diff --git a/src/swe-glib.c b/src/swe-glib.c index 462e558..0961c89 100644 --- a/src/swe-glib.c +++ b/src/swe-glib.c @@ -80,7 +80,7 @@ GsweTimestamp *gswe_full_moon_base_date; (v)->major = (m); \ g_hash_table_replace((ht), GINT_TO_POINTER(i), (v)); -#define ADD_ANTISCION(ht, v, hts, vs, i, n, s, m) (v) = g_new0(GsweAntiscionInfo, 1); \ +#define ADD_ANTISCION(ht, v, hts, vs, i, n, s, m) (v) = g_new0(GsweAntiscionAxisInfo, 1); \ (vs) = g_hash_table_lookup((hts), GINT_TO_POINTER(i)); \ (v)->axis_id = (i); \ (v)->start_sign = (vs); \ @@ -116,7 +116,7 @@ gswe_free_aspect_info(gpointer aspect_info) } void -gswe_free_antiscion_info(GsweAntiscionInfo *antiscion_info) +gswe_free_antiscion_info(GsweAntiscionAxisInfo *antiscion_info) { g_free(antiscion_info->name); g_free(antiscion_info); @@ -135,7 +135,7 @@ gswe_init(void) GsweSignInfo *sign_info; GsweHouseSystemInfo *house_system_info; GsweAspectInfo *aspect_info; - GsweAntiscionInfo *antiscion_info; + GsweAntiscionAxisInfo *antiscion_info; bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");