> 
> The reason that I assumed that it would work is the following function
> in src/engine/Transaction.h:
> 
> void          xaccTransSetDateSecs (Transaction *, time_t);
> 
> which is wrapped in src/g-wrap/gnc.gwp as follows:
> 
> new-function
>  'gnc:transaction-set-date-secs
>  'void "xaccTransSetDateSecs" '((Transaction* t) (int secs)) 
>  "Set date on transaction based on time_t (seconds since Jan 1 1970)")
> 
> 
> gnc:transaction-set-date-secs is not currently used, and if used would
> probably generate the same bug.  Seeing there is already a C function
> 
> void          xaccTransSetDateTS (Transaction *, const Timespec *);
> 
> we should probably wrap it rather than the currently-used
> xaccTransSetDateSecs.

Ok, this is fixed.

dave

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to