* src/scm/commodity-utilities.scm: fix fixme

* src/engine/Group.c (xaccGroupGetAccount): remove pokey warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4048 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2001-04-25 23:37:57 +00:00
parent 67aa2af36e
commit 69ca5e202c
3 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,9 @@
2001-04-25 Dave Peticolas <dave@krondo.com>
* src/scm/commodity-utilities.scm: fix fixme
* src/engine/Group.c (xaccGroupGetAccount): remove pokey warning
* src/engine/gnc-transaction-xml-v2.c: read & write split action
field

View File

@@ -990,8 +990,6 @@ xaccGroupGetAccount (AccountGroup *grp, int i)
{
if (!grp) return NULL;
PWARN ("try to avoid this function, it's O(accounts)");
return g_list_nth_data (grp->accounts, i);
}

View File

@@ -288,10 +288,8 @@
(gnc:numeric-zero)
(gnc:numeric-mul (gnc:gnc-monetary-amount foreign)
(cadr pair)
;; FIXME: the constant 100 here is
;; not a durable solution --
;; anyone has a better idea?
100 GNC-RND-ROUND))))
(gnc:commodity-get-fraction domestic)
GNC-RND-ROUND))))
#f))))
;; Adds all different commodities in the commodity-collector <foreign>