2001-05-13 Dave Peticolas <dave@krondo.com>

* src/gnome/window-main.c: write commodities with accounts

	* src/engine/io-gncxml-v2.c (write_commodities): make public


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4176 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-05-13 10:18:34 +00:00
parent fc4562838e
commit beabb807e8
4 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2001-05-13 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: write commodities with accounts
* src/engine/io-gncxml-v2.c (write_commodities): make public
* src/gnome/new-user.glade: tweak gui
* src/gnome/window-main.c: the "destroy" handler does not

View File

@ -394,7 +394,7 @@ compare_commodity_ids(gconstpointer a, gconstpointer b) {
gnc_commodity_get_mnemonic(cb)));
}
static void
void
write_commodities(FILE *out, GNCBook *book)
{
gnc_commodity_table *tbl;
@ -436,7 +436,6 @@ write_commodities(FILE *out, GNCBook *book)
}
g_list_free (namespaces);
}
static void

View File

@ -32,6 +32,7 @@
void write_account_group(FILE *out, AccountGroup *grp);
void write_accounts(FILE *out, GNCBook *book);
void write_commodities(FILE *out, GNCBook *book);
void write_emacs_trailer(FILE *out);

View File

@ -777,6 +777,7 @@ gnc_main_window_file_export_cb(GtkWidget * widget) {
if (rc == EOF)
break;
write_commodities (file, gncGetCurrentBook ());
write_accounts (file, gncGetCurrentBook ());
rc = fputs ("<\\gnc-v2>\n", file);