aboutsummaryrefslogtreecommitdiff
path: root/src/engine-eds.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-06 15:19:36 -0300
committerRobert Tari <robert@tari.in>2021-07-05 23:33:16 +0200
commit5532e39c7072d05ce21735335a5dbdd9e1857660 (patch)
tree55943b6711c8832a7d559e7d0e8b763839929118 /src/engine-eds.cpp
parent272067d4a6aa76117b23b231b3b1888df54ce880 (diff)
downloadayatana-indicator-datetime-5532e39c7072d05ce21735335a5dbdd9e1857660.tar.gz
ayatana-indicator-datetime-5532e39c7072d05ce21735335a5dbdd9e1857660.tar.bz2
ayatana-indicator-datetime-5532e39c7072d05ce21735335a5dbdd9e1857660.zip
Does not add extra ref to timezone object.
Diffstat (limited to 'src/engine-eds.cpp')
-rw-r--r--src/engine-eds.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index 7f5e080..585841b 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -102,8 +102,6 @@ public:
auto gtz = timezone_from_name(tz, nullptr, nullptr, &default_timezone);
if (gtz == nullptr) {
gtz = g_time_zone_new_local();
- } else {
- g_time_zone_ref(gtz);
}
g_debug("default_timezone is %s", default_timezone ? i_cal_timezone_get_display_name(default_timezone) : "null");