[Gnucash-changes] r12197 - gnucash/trunk/src/engine - remove random qof_commit_edit from xaccSplitSetSlots_nc

Derek Atkins warlord at MIT.EDU
Thu Dec 29 00:27:21 EST 2005


If it's unbalanced, the proper fix here is to add a begin_edit,
not to remove the commit_edit.

-derek

Quoting Chris Shoemaker <chris at cvs.gnucash.org>:

> Modified: gnucash/trunk/src/engine/Transaction.c
> ===================================================================
> --- gnucash/trunk/src/engine/Transaction.c	2005-12-29 05:18:07 UTC 
> (rev 12196)
> +++ gnucash/trunk/src/engine/Transaction.c	2005-12-29 05:21:02 UTC 
> (rev 12197)
> @@ -649,7 +649,6 @@
>   }
>
>   s->kvp_data = frm;
> -  qof_commit_edit(&s->parent->inst);
> }

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