Fix gtk_entry_set_text error warnings.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22060 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Evans 2012-02-22 12:34:55 +00:00
parent d486d807c1
commit 04b4dce118

View File

@ -597,8 +597,8 @@ gnc_bi_import_create_bis (GtkListStore * store, QofBook * book,
timespecFromTime_t (&now_timespec, now);
gncInvoiceSetDateOpened (invoice, now_timespec);
}
gncInvoiceSetBillingID (invoice, billing_id);
gncInvoiceSetNotes (invoice, notes);
gncInvoiceSetBillingID (invoice, billing_id ? billing_id : "");
gncInvoiceSetNotes (invoice, notes ? notes : "");
gncInvoiceSetActive (invoice, TRUE);
//if (g_ascii_strcasecmp(type,"INVOICE"))gncInvoiceSetBillTo( invoice, billto );
(*n_invoices_created)++;