From 78565f7939b47921c4cd5c3d7cf81c22aea383a2 Mon Sep 17 00:00:00 2001 From: Mike Evans Date: Sun, 21 May 2017 15:23:25 +0100 Subject: [PATCH] Change from deprecated gncEntrySetDate to gncEntrySetDateGDate. Should gncEntrySetDateEntered() similarly be deprecated? --- src/plugins/bi_import/dialog-bi-import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/bi_import/dialog-bi-import.c b/src/plugins/bi_import/dialog-bi-import.c index 39803b0bd2..d99aaaf08f 100644 --- a/src/plugins/bi_import/dialog-bi-import.c +++ b/src/plugins/bi_import/dialog-bi-import.c @@ -707,12 +707,12 @@ gnc_bi_import_create_bis (GtkListStore * store, QofBook * book, if (strlen (date) != 0) // If a date is specified in CSV { qof_scan_date (date, &day, &month, &year); // FIXME: Must check for the return value of qof_scan_date! - gncEntrySetDate(entry, gnc_dmy2timespec (day, month, year)); + gncEntrySetDateGDate(entry, gnc_dmy2timespec (day, month, year)); gncEntrySetDateEntered(entry, gnc_dmy2timespec (day, month, year)); } else { - gncEntrySetDate(entry, today); // TODO: DEPRECATED - use gncEntrySetDateGDate() instead! + gncEntrySetDateGDate (entry, today); gncEntrySetDateEntered(entry, today); } // Remove escaped quotes