diff --git a/lib/libqof/qof/gnc-date.c b/lib/libqof/qof/gnc-date.c index 630752e058..b49ce2b173 100644 --- a/lib/libqof/qof/gnc-date.c +++ b/lib/libqof/qof/gnc-date.c @@ -1358,40 +1358,6 @@ gnc_timet_get_day_end (time_t time_val) } -#ifndef GNUCASH_MAJOR_VERSION -time_t -gnc_timet_get_day_start_gdate (GDate *date) -{ - struct tm stm; - time_t secs; - - stm.tm_year = g_date_get_year (date) - 1900; - stm.tm_mon = g_date_get_month (date) - 1; - stm.tm_mday = g_date_get_day (date); - gnc_tm_set_day_start(&stm); - - /* Compute number of seconds */ - secs = mktime (&stm); - return secs; -} - -time_t -gnc_timet_get_day_end_gdate (GDate *date) -{ - struct tm stm; - time_t secs; - - stm.tm_year = g_date_get_year (date) - 1900; - stm.tm_mon = g_date_get_month (date) - 1; - stm.tm_mday = g_date_get_day (date); - gnc_tm_set_day_end(&stm); - - /* Compute number of seconds */ - secs = mktime (&stm); - return secs; -} -#endif /* GNUCASH_MAJOR_VERSION */ - /* ======================================================== */ void diff --git a/lib/libqof/qof/gnc-date.h b/lib/libqof/qof/gnc-date.h index b0e5ec97fe..04a5cb1060 100644 --- a/lib/libqof/qof/gnc-date.h +++ b/lib/libqof/qof/gnc-date.h @@ -496,22 +496,6 @@ time_t gnc_timet_get_day_start(time_t time_val); * seconds and adjust it to the last second of that day. */ time_t gnc_timet_get_day_end(time_t time_val); -#ifndef GNUCASH_MAJOR_VERSION -/** The gnc_timet_get_day_start() routine will take the given time in - * GLib GDate format and adjust it to the last second of that day. - * - * @deprecated - */ -time_t gnc_timet_get_day_start_gdate (GDate *date); - -/** The gnc_timet_get_day_end() routine will take the given time in - * GLib GDate format and adjust it to the last second of that day. - * - * @deprecated - */ -time_t gnc_timet_get_day_end_gdate (GDate *date); -#endif /* GNUCASH_MAJOR_VERSION */ - /** Get the numerical last date of the month. (28, 29, 30, 31) */ int date_get_last_mday(struct tm *tm);