PATCH: fix KVP bug/allow gnc_numeric to be a GBoxed value

Derek Atkins warlord at MIT.EDU
Mon Apr 9 19:03:53 EDT 2007


I wonder if we should add a test-case for this kvp issue so we don't
regress?

Also, this patch should've been split into two.  I've done that myself
as I applied them.

-derek

Phil Longstaff <plongstaff at rogers.com> writes:

> The attached patch does two things:
>
> 1) Fixes a KVP bug where kvp_frame_add_value_nc() wouldn't properly create a frame which didn't previously exist.  The problem was that by the time the routine realized it needed to create the path, the variable holding the path had been overwritten.
>
> 2) Add support to allow a gnc_numeric to be stored as a GBoxed value.  Needed for GDA branch, but might as well move into the trunk as part of the GObjectification.
>
> Phil
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list