Bug #582048: Fix missing GUI callbacks for online transfer.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18167 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2009-07-02 08:04:05 +00:00
parent b34e82722b
commit 35f1112c47

View File

@ -236,6 +236,13 @@ gnc_ab_maketrans(GtkWidget *parent, Account *gnc_acc,
/* Create a context to store possible results */
context = AB_ImExporterContext_new();
gui = gnc_GWEN_Gui_get(parent);
if (!gui) {
g_warning("gnc_ab_maketrans: Couldn't initialize Gwenhywfar GUI");
aborted = TRUE;
goto repeat;
}
/* Finally, execute the job */
AB_Banking_ExecuteJobs(api, job_list, context, 0);