"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gnucash/import-export/aqb/assistant-ab-initial.c" between
gnucash-3.6.tar.bz2 and gnucash-3.7.tar.bz2

About: GnuCash is personal and small-business financial-accounting software.

assistant-ab-initial.c  (gnucash-3.6.tar.bz2):assistant-ab-initial.c  (gnucash-3.7.tar.bz2)
skipping to change at line 355 skipping to change at line 355
static gboolean static gboolean
banking_has_accounts(AB_BANKING *banking) banking_has_accounts(AB_BANKING *banking)
{ {
GNC_AB_ACCOUNT_SPEC_LIST *accl = NULL; GNC_AB_ACCOUNT_SPEC_LIST *accl = NULL;
gboolean result = FALSE; gboolean result = FALSE;
g_return_val_if_fail(banking, FALSE); g_return_val_if_fail(banking, FALSE);
#ifdef AQBANKING6 #ifdef AQBANKING6
if (AB_Banking_GetAccountSpecList (banking, &accl) >= 0 && if (AB_Banking_GetAccountSpecList (banking, &accl) >= 0 &&
accl && AV_AccountSpec_List_GetCount (accl)) accl && AB_AccountSpec_List_GetCount (accl))
result = TRUE; result = TRUE;
if (accl) if (accl)
AB_AccountSpec_List_Free (accl); AB_AccountSpec_List_free (accl);
#else #else
AB_Banking_OnlineInit(banking); AB_Banking_OnlineInit(banking);
accl = AB_Banking_GetAccounts(banking); accl = AB_Banking_GetAccounts(banking);
if (accl && (AB_Account_List2_GetSize(accl) > 0)) if (accl && (AB_Account_List2_GetSize(accl) > 0))
result = TRUE; result = TRUE;
if (accl) if (accl)
AB_Account_List2_free(accl); AB_Account_List2_free(accl);
skipping to change at line 397 skipping to change at line 397
ab_account_longname(const GNC_AB_ACCOUNT_SPEC *ab_acc) ab_account_longname(const GNC_AB_ACCOUNT_SPEC *ab_acc)
{ {
gchar *bankname = NULL; gchar *bankname = NULL;
gchar *result = NULL; gchar *result = NULL;
const char *ab_bankname, *bankcode, *subAccountId, *account_number; const char *ab_bankname, *bankcode, *subAccountId, *account_number;
g_return_val_if_fail(ab_acc, NULL); g_return_val_if_fail(ab_acc, NULL);
#ifdef AQBANKING6 #ifdef AQBANKING6
bankcode = AB_AccountSpec_GetBankCode(ab_acc); bankcode = AB_AccountSpec_GetBankCode(ab_acc);
subAccountId = AB_AccountSpec_GetSubAccountId(ab_acc); subAccountId = AB_AccountSpec_GetSubAccountNumber(ab_acc);
account_number = AB_AccountSpec_GetAccountNumber (ab_acc); account_number = AB_AccountSpec_GetAccountNumber (ab_acc);
#else #else
ab_bankname = AB_Account_GetBankName(ab_acc); ab_bankname = AB_Account_GetBankName(ab_acc);
bankname = ab_bankname ? gnc_utf8_strip_invalid_strdup(ab_bankname) : NULL; bankname = ab_bankname ? gnc_utf8_strip_invalid_strdup(ab_bankname) : NULL;
bankcode = AB_Account_GetBankCode(ab_acc); bankcode = AB_Account_GetBankCode(ab_acc);
subAccountId = AB_Account_GetSubAccountId(ab_acc); subAccountId = AB_Account_GetSubAccountId(ab_acc);
account_number = AB_Account_GetAccountNumber (ab_acc); account_number = AB_Account_GetAccountNumber (ab_acc);
#endif #endif
/* Translators: Strings are 1. Bank code, 2. Bank name, /* Translators: Strings are 1. Bank code, 2. Bank name,
* 3. Account Number, 4. Subaccount ID */ * 3. Account Number, 4. Subaccount ID */
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)