diff --git a/ChangeLog b/ChangeLog index d406f59d13..c8853425eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-01-31 Christian Stimming + + * 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 * src/register/ledger-core/split-register-layout.c: Remove the diff --git a/src/import-export/import-account-matcher.c b/src/import-export/import-account-matcher.c index ceb9fb5fde..a22d1dc957 100644 --- a/src/import-export/import-account-matcher.c +++ b/src/import-export/import-account-matcher.c @@ -66,7 +66,7 @@ struct _accountpickerdialog { GtkWidget * treeview; AccountGroup * acct_group; Account * selected_acct; - gchar * account_human_description; + const gchar * account_human_description; gchar * account_online_id_value; gnc_commodity * new_account_default_commodity; 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, - char auto_create, - char * account_human_description, + gboolean auto_create, + const char * account_human_description, gnc_commodity * new_account_default_commodity, GNCAccountType new_account_default_type, Account * default_selection, diff --git a/src/import-export/import-account-matcher.h b/src/import-export/import-account-matcher.h index f84731f8d0..121c4dbf65 100644 --- a/src/import-export/import-account-matcher.h +++ b/src/import-export/import-account-matcher.h @@ -36,9 +36,10 @@ again). If the user refuses to select or create an account, NULL is returned. - @param account_online_id_value The string containing your unique account_id - coming from some string of your module. This is the normal mode of - operation. + @param account_online_id_value The string containing your unique + account_id coming from some string of your module. This is the + 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 selector that allows you to select an account whose GUID will be @@ -83,8 +84,8 @@ account was found or created. */ Account * gnc_import_select_account(char * account_online_id_value, - char auto_create, - char * account_human_description, + gboolean auto_create, + const char * account_human_description, gnc_commodity * new_account_default_commodity, GNCAccountType new_account_default_type, Account * default_selection,