mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Small amendements to gnc-csv-account-map
- add to POTFILES.in - const correctness fixup (c++ is picky about this)
This commit is contained in:
committed by
Geert Janssens
parent
01d31c7171
commit
20eecb05da
@@ -62,7 +62,7 @@ account_imap_destroy (GncImportMatchMap *imap)
|
||||
* search the existing mappings for the account
|
||||
* linked to the import string.
|
||||
**************************************************/
|
||||
Account * gnc_csv_account_map_search (gchar *map_string)
|
||||
Account * gnc_csv_account_map_search (const gchar *map_string)
|
||||
{
|
||||
Account *root, *account = NULL;
|
||||
GList *accts, *ptr;
|
||||
@@ -144,7 +144,7 @@ gnc_csv_account_map_load_mappings (GtkTreeModel *mappings_store)
|
||||
* change the existing mappings
|
||||
**************************************************/
|
||||
void
|
||||
gnc_csv_account_map_change_mappings (Account *old_account, Account *new_account, gchar *map_string)
|
||||
gnc_csv_account_map_change_mappings (Account *old_account, Account *new_account, const gchar *map_string)
|
||||
{
|
||||
GncImportMatchMap *tmp_imap;
|
||||
|
||||
|
||||
@@ -40,12 +40,12 @@ void gnc_csv_account_map_load_mappings (GtkTreeModel *mappings_store);
|
||||
/** Update the import mappings.
|
||||
*
|
||||
*/
|
||||
void gnc_csv_account_map_change_mappings (Account *old_account, Account *new_account, gchar *map_string);
|
||||
void gnc_csv_account_map_change_mappings (Account *old_account, Account *new_account, const gchar *map_string);
|
||||
|
||||
/** Returns a pointer to the account that matches the import string.
|
||||
*
|
||||
* @return A pointer to an account.
|
||||
*/
|
||||
Account * gnc_csv_account_map_search (gchar *map_string);
|
||||
Account * gnc_csv_account_map_search (const gchar *map_string);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user