From 2fccd6bb1f12839f1316ddd671c10d2dc4bececf Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sun, 11 Mar 2001 02:37:06 +0000 Subject: [PATCH] * src/engine/Ledger-xml-parser-v1.c (ledger_data_after_child_handler): mark pricedb as clean after loading git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3768 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 6 ++++++ src/engine/Ledger-xml-parser-v1.c | 3 ++- src/engine/gnc-pricedb-xml-v1.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0ec4414968..f51f4ea492 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-03-10 Dave Peticolas + + * src/engine/Ledger-xml-parser-v1.c + (ledger_data_after_child_handler): mark pricedb as clean after + loading + 2001-03-09 Bill Gribble * add configure/acconfig option for GPG diff --git a/src/engine/Ledger-xml-parser-v1.c b/src/engine/Ledger-xml-parser-v1.c index 881feb782f..024224be0c 100644 --- a/src/engine/Ledger-xml-parser-v1.c +++ b/src/engine/Ledger-xml-parser-v1.c @@ -25,7 +25,7 @@ #include #include "gnc-engine-util.h" -#include "gnc-pricedb.h" +#include "gnc-pricedb-p.h" #include "io-gncxml-p.h" #include "sixtp.h" #include "sixtp-parsers.h" @@ -105,6 +105,7 @@ ledger_data_after_child_handler(gpointer data_for_children, return FALSE; } status->pricedb = pdb; + gnc_pricedb_mark_clean(pdb); child_result->should_cleanup = FALSE; } return(TRUE); diff --git a/src/engine/gnc-pricedb-xml-v1.c b/src/engine/gnc-pricedb-xml-v1.c index 9b9fd4c976..96764d0483 100644 --- a/src/engine/gnc-pricedb-xml-v1.c +++ b/src/engine/gnc-pricedb-xml-v1.c @@ -228,7 +228,7 @@ pricedb_after_child_handler(gpointer data_for_children, GSList* sibling_data, gpointer parent_data, gpointer global_data, - gpointer *result, + gpointer *result, const gchar *tag, const gchar *child_tag, sixtp_child_result *child_result)