Remove gswe_init() call from GsweTimestamp initializers
That call is unnecessary for time related functions.
This commit is contained in:
parent
66c8c3371c
commit
078ff3370d
@ -1083,8 +1083,6 @@ gswe_timestamp_new_from_gregorian_full(gint year, gint month, gint day, gint hou
|
|||||||
{
|
{
|
||||||
GsweTimestamp *timestamp;
|
GsweTimestamp *timestamp;
|
||||||
|
|
||||||
gswe_init();
|
|
||||||
|
|
||||||
timestamp = GSWE_TIMESTAMP(g_object_new(GSWE_TYPE_TIMESTAMP,
|
timestamp = GSWE_TIMESTAMP(g_object_new(GSWE_TYPE_TIMESTAMP,
|
||||||
"gregorian-year", year,
|
"gregorian-year", year,
|
||||||
"gregorian-month", month,
|
"gregorian-month", month,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user