Small amendements to gnc-csv-account-map

- add to POTFILES.in
- const correctness fixup (c++ is picky about this)
This commit is contained in:
Geert Janssens
2017-02-20 17:41:25 +01:00
committed by Geert Janssens
parent 01d31c7171
commit 20eecb05da
2 changed files with 4 additions and 4 deletions
@@ -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