Revert "Remove gswe_init() call from GsweTimestamp initializers"
This reverts commit 078ff3370d
.
It turns out that we actually need to call gswe_init() (or at least
g_type_init()) for GObjects to work.
This commit is contained in:
parent
80b5da88a3
commit
0caebd4f94
@ -1341,6 +1341,8 @@ gswe_timestamp_new_from_gregorian_full(
|
||||
{
|
||||
GsweTimestamp *timestamp;
|
||||
|
||||
gswe_init();
|
||||
|
||||
timestamp = GSWE_TIMESTAMP(g_object_new(GSWE_TYPE_TIMESTAMP,
|
||||
"gregorian-year", year,
|
||||
"gregorian-month", month,
|
||||
|
Loading…
Reference in New Issue
Block a user