mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Convert GNC_TYPE_TIMESPEC to GNC_TYPE_TIME64, Kvp::Type::Timespec to Kvp::Type::Time64
They have to go together because of using gvalues to hide KVP from most of GnuCash.
This commit is contained in:
@@ -324,11 +324,10 @@ get_random_kvp_value_depth (int type, gint depth)
|
||||
}
|
||||
break;
|
||||
|
||||
case KvpValue::Type::TIMESPEC:
|
||||
case KvpValue::Type::TIME64:
|
||||
{
|
||||
Timespec *ts = get_random_timespec();
|
||||
ret = new KvpValue(*ts);
|
||||
g_free(ts);
|
||||
time64 t = get_random_time();
|
||||
ret = new KvpValue(t);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user