Made GsweSignInfo a refcounted boxed type

This commit is contained in:
2013-09-27 00:44:47 +02:00
parent 347dae00d3
commit a1f8d1f7da
5 changed files with 139 additions and 51 deletions

View File

@@ -54,7 +54,7 @@ GsweTimestamp *gswe_full_moon_base_date;
g_hash_table_replace((ht), GINT_TO_POINTER(i), (v));
#define ADD_SIGN(ht, v, s, n, e, q) \
(v) = g_new0(GsweSignInfo, 1); \
(v) = gswe_sign_info_new(); \
(v)->sign = (s); \
(v)->name = g_strdup(n); \
(v)->element = (e); \