r19359 - gnucash/trunk/src/import-export/aqbanking - Follow-up of r19358: Need to use AB_SetupDialog_new instead as replacement of the previous wizard.

Christian Stimming cstim at code.gnucash.org
Mon Jul 12 16:12:08 EDT 2010


Author: cstim
Date: 2010-07-12 16:12:08 -0400 (Mon, 12 Jul 2010)
New Revision: 19359
Trac: http://svn.gnucash.org/trac/changeset/19359

Modified:
   gnucash/trunk/src/import-export/aqbanking/druid-ab-initial.c
Log:
Follow-up of r19358: Need to use AB_SetupDialog_new instead as replacement of the previous wizard.

Modified: gnucash/trunk/src/import-export/aqbanking/druid-ab-initial.c
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/druid-ab-initial.c	2010-07-12 18:54:42 UTC (rev 19358)
+++ gnucash/trunk/src/import-export/aqbanking/druid-ab-initial.c	2010-07-12 20:12:08 UTC (rev 19359)
@@ -53,6 +53,14 @@
 #include "gnc-session.h"
 #include "import-account-matcher.h"
 
+#if (AQBANKING_VERSION_MAJOR > 4) || \
+  ((AQBANKING_VERSION_MAJOR == 4) && \
+   ((AQBANKING_VERSION_MINOR > 99) || \
+    (AQBANKING_VERSION_MINOR == 99 && AQBANKING_VERSION_PATCHLEVEL > 8)))
+/* For aqbanking > 4.99.8. See below. */
+# include <aqbanking/dlg_setup.h>
+#endif
+
 /* This static indicates the debugging module that this .o belongs to.  */
 static QofLogModule log_module = G_LOG_DOMAIN;
 
@@ -236,7 +244,7 @@
     /* For aqbanking5 > 4.99.8: Use AB_Banking_GetNewUserDialog(). */
     {
         GWEN_DIALOG *dlg =
-            AB_Banking_GetNewUserDialog(banking, "aqhbci", 0);
+            AB_SetupDialog_new(banking);
 
         int rv = GWEN_Gui_ExecDialog(dlg, 0);
         if (rv <= 0)



More information about the gnucash-changes mailing list