mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
fc4562838e
commit
beabb807e8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user