2004-01-31 Christian Stimming <stimming@tuhh.de>

* src/import-export/import-account-matcher.h: Make string argument
	a const char*. Make boolean argument a gboolean.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9816 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2004-01-31 09:33:32 +00:00
parent 1068838bdc
commit 7e4b6dba4a
3 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2004-01-31 Christian Stimming <stimming@tuhh.de>
* src/engine/kvp_frame.h, src/engine/Account.c: Add clear notice
of the semantic change of kvp_frame_get_frame
function. Fortunately it seems the only place that still had to be
fixed, apart from the hbci module, has been in Account.c.
* src/import-export/import-account-matcher.h: Make string argument
a const char*. Make boolean argument a gboolean.
2004-01-30 Derek Atkins <derek@ihtfp.com> 2004-01-30 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-layout.c: Remove the * src/register/ledger-core/split-register-layout.c: Remove the

View File

@ -66,7 +66,7 @@ struct _accountpickerdialog {
GtkWidget * treeview; GtkWidget * treeview;
AccountGroup * acct_group; AccountGroup * acct_group;
Account * selected_acct; Account * selected_acct;
gchar * account_human_description; const gchar * account_human_description;
gchar * account_online_id_value; gchar * account_online_id_value;
gnc_commodity * new_account_default_commodity; gnc_commodity * new_account_default_commodity;
GNCAccountType new_account_default_type; GNCAccountType new_account_default_type;
@ -215,8 +215,8 @@ static gpointer test_acct_online_id_match(Account *acct, gpointer param_online_i
} }
Account * gnc_import_select_account(char * account_online_id_value, Account * gnc_import_select_account(char * account_online_id_value,
char auto_create, gboolean auto_create,
char * account_human_description, const char * account_human_description,
gnc_commodity * new_account_default_commodity, gnc_commodity * new_account_default_commodity,
GNCAccountType new_account_default_type, GNCAccountType new_account_default_type,
Account * default_selection, Account * default_selection,

View File

@ -36,9 +36,10 @@
again). If the user refuses to select or create an account, NULL is again). If the user refuses to select or create an account, NULL is
returned. returned.
@param account_online_id_value The string containing your unique account_id @param account_online_id_value The string containing your unique
coming from some string of your module. This is the normal mode of account_id coming from some string of your module. This is the
operation. normal mode of operation. (FIXME: is this string still owned by
the caller or does this function take ownership?)
If account_online_id_value==NULL, you basically end up with an account If account_online_id_value==NULL, you basically end up with an account
selector that allows you to select an account whose GUID will be selector that allows you to select an account whose GUID will be
@ -83,8 +84,8 @@
account was found or created. account was found or created.
*/ */
Account * gnc_import_select_account(char * account_online_id_value, Account * gnc_import_select_account(char * account_online_id_value,
char auto_create, gboolean auto_create,
char * account_human_description, const char * account_human_description,
gnc_commodity * new_account_default_commodity, gnc_commodity * new_account_default_commodity,
GNCAccountType new_account_default_type, GNCAccountType new_account_default_type,
Account * default_selection, Account * default_selection,