Renamed GsweAntiscionInfo to GsweAntiscionAxisInfo

This commit is contained in:
Gergely Polonkai 2013-09-16 13:18:20 +02:00
parent 123e0c8a65
commit 49ec42eebe
3 changed files with 8 additions and 8 deletions

View File

@ -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,

View File

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

View File

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