mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix warning about deprecated aqbanking function in aqbanking-1.0.7
2005-04-02 Christian Stimming <stimming@tuhh.de> * src/import-export/hbci/dialog-hbcitrans.c: Fix warning about deprecated aqbanking function in aqbanking-1.0.7 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10943 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
803907e022
commit
1d4bc05065
@ -1,3 +1,8 @@
|
||||
2005-04-02 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/import-export/hbci/dialog-hbcitrans.c: Fix warning about
|
||||
deprecated aqbanking function in aqbanking-1.0.7
|
||||
|
||||
2005-03-20 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/import-export/hbci/gnc-hbci-utils.c: Retrieve the current
|
||||
|
@ -27,6 +27,7 @@
|
||||
#endif
|
||||
|
||||
#include <gnome.h>
|
||||
#include <aqbanking/version.h>
|
||||
#include <aqbanking/account.h>
|
||||
#include <aqbanking/jobsingletransfer.h>
|
||||
#include <aqbanking/jobsingledebitnote.h>
|
||||
@ -440,7 +441,16 @@ int gnc_hbci_dialog_run_until_ok(HBCITransDialog *td,
|
||||
printf("gnc_hbci_trans_dialog_enqueue: Oops, job not available. Aborting.\n");
|
||||
return -1;
|
||||
}
|
||||
#if ((AQBANKING_VERSION_MAJOR > 1) || \
|
||||
((AQBANKING_VERSION_MAJOR == 1) && \
|
||||
((AQBANKING_VERSION_MINOR > 0) || \
|
||||
((AQBANKING_VERSION_MINOR == 0) && \
|
||||
(AQBANKING_VERSION_PATCHLEVEL > 6)))))
|
||||
max_purpose_lines = AB_TransactionLimits_GetMaxLinesPurpose
|
||||
( AB_JobSingleTransfer_GetFieldLimits(job) );
|
||||
#else
|
||||
max_purpose_lines = AB_JobSingleTransfer_GetMaxPurposeLines(job);
|
||||
#endif
|
||||
/* these are the number of fields, 27 characters each. */
|
||||
AB_Job_free(job);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user