Fix uninstantiatable type error on the console

sys:1: Warning: invalid uninstantiatable type '(null)' in cast to
'GtkWindow'
This commit is contained in:
Robert Fewell 2022-07-29 09:38:32 +01:00
parent ebf3439558
commit edf000f4cf

View File

@ -1058,7 +1058,7 @@ bal_accountinfo_cb(AB_IMEXPORTER_ACCOUNTINFO *element, gpointer user_data)
if (!(data->awaiting & AWAIT_BALANCES))
{
GtkWindow *parent = data->generic_importer ?
GTK_WINDOW(data->generic_importer) :
GTK_WINDOW(gnc_gen_trans_list_widget(data->generic_importer)) :
GTK_WINDOW(data->parent);
const char* balance_msg =
_("The bank has sent balance information in its response.\n"