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:
John Ralls
2018-08-02 13:29:47 -07:00
parent b60aef9d2a
commit c8b372e390
21 changed files with 96 additions and 96 deletions

View File

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