From 2fb9569e6c6c0e0f71923e8a864f0e9532339fb1 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Mon, 16 Sep 2013 16:15:07 +0200 Subject: [PATCH] gswe_timestamp_get_gregorian_timezone doesn't recalculate gregorian value timezone_offset is not changed by the calculation process, no recalculation is needed. --- src/gswe-timestamp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gswe-timestamp.c b/src/gswe-timestamp.c index aacb031..34e8fc3 100644 --- a/src/gswe-timestamp.c +++ b/src/gswe-timestamp.c @@ -771,8 +771,6 @@ gswe_timestamp_set_gregorian_timezone(GsweTimestamp *timestamp, gdouble gregoria gdouble gswe_timestamp_get_gregorian_timezone(GsweTimestamp *timestamp) { - gswe_timestamp_calculate_gregorian(timestamp); - return timestamp->priv->gregorian_timezone_offset; }