gnucash bugfix: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Fri Feb 21 11:32:04 EST 2014
New branch created at https://github.com/Gnucash/gnucash/commit/3a2c33cf (commit)
commit 3a2c33cf67e81b7d9ded2d20cb1c0c077db9a37e
Author: Geert Janssens <janssens-geert at telenet.be>
Date: Fri Feb 21 15:52:31 2014 +0100
Fix GLib assert on windows when entering a date in dst
diff --git a/src/libqof/qof/gnc-date.c b/src/libqof/qof/gnc-date.c
index dae44d1..58b1059 100644
--- a/src/libqof/qof/gnc-date.c
+++ b/src/libqof/qof/gnc-date.c
@@ -170,7 +170,6 @@ gnc_g_time_zone_adjust_for_dst (GTimeZone* tz, GDateTime *date)
g_return_val_if_fail (date != NULL, NULL);
if (dst > 0 && win32_in_dst (date, &tzinfo))
{
- g_time_zone_unref (tz);
bias = tzinfo.Bias + tzinfo.DaylightBias;
hours = -bias / 60; // 60 minutes per hour
minutes = (bias < 0 ? -bias : bias) % 60;
More information about the gnucash-changes
mailing list