-----BEGIN PGP SIGNED MESSAGE----- Just try it. It's simple: Instead of
void gnc_import_add_trans (Transaction *trans); now you use #include "gnc-gen-transaction.h" GNCGenTransaction * gnc_gen_trans_new (GtkWidget *parent, const gchar* heading); void gnc_gen_trans_add_trans(GNCGenTransaction *gui, Transaction *trans); and that's it. Optionally, you can wait for it to finish: gboolean gnc_gen_trans_run (GNCGenTransaction *gui); No that's not really competition. Pretty much 95% of the code in Transaction-matcher.c is still being used, albeit probably not in the way benoitg originally intended it to be used :-))))) but that doesn't really matter. Just along the way I improved the duplicate detection performance considerably (structures are only allocated if they are really needed). And I implemented the automatic destination account guessing, based on the Transaction's description and the first Split's memo. Oh, both things are now in my new Generic Transaction Importer as well as in benoitg's Transaction Matcher. Any questions? Christian PS: I'll leave for a party now and probably won't return to email before Monday :-) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iQCVAwUBPd/Qa2XAi+BfhivFAQGX7QP/cxQvNcG7bGqfWlfor23PDQYiFPnUsspt ByYQQ7Z9RUX5MhdvNqzFx3zUAcWMMX5E6nT+DgyNSdZ2P+D9YYjPTTcbn6FLNhTS ZPeohozfS0YtPpRlxq4QKYbA5uqIsCMqSU+hzUejL/mUmy6TwshkbB+GrfOAUoPN v9bwFMy8gpM= =n/bb -----END PGP SIGNATURE----- _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel