Make gnc_g_date_time_new_from_unix_local() function known in header.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23184 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2013-09-20 21:09:33 +00:00
parent d1a2d70be9
commit 517a621d9a
2 changed files with 7 additions and 1 deletions

View File

@ -189,7 +189,7 @@ gnc_g_date_time_adjust_for_dst (GDateTime *gdt, GTimeZone *tz)
return gdt;
}
static GDateTime*
GDateTime*
gnc_g_date_time_new_from_unix_local (time64 time)
{
#ifndef G_OS_WIN32

View File

@ -234,6 +234,12 @@ time64 gnc_time_utc (time64 *tbuf);
*/
gdouble gnc_difftime (const time64 secs1, const time64 secs2);
/** Wrapper for g_date_time_new_from_unix_local() that takes special care on
* windows to take the local timezone into account. On unix, it just calles the
* g_date function. */
GDateTime*
gnc_g_date_time_new_from_unix_local (time64 time);
/** \brief free a struct tm* created with gnc_localtime() or gnc_gmtime()
* \param time: The struct tm* to be freed.
*/