diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-04-06 15:19:36 -0300 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:37:39 +0200 |
commit | 74fafe94686325b9c6067203ef81d225ba203889 (patch) | |
tree | 21a7f8fad6001504ca07cdb11545cf53cbcc9e44 | |
parent | 09d434e543f3806a11ad6ebb5dad99dffae46d28 (diff) | |
download | ayatana-indicator-datetime-74fafe94686325b9c6067203ef81d225ba203889.tar.gz ayatana-indicator-datetime-74fafe94686325b9c6067203ef81d225ba203889.tar.bz2 ayatana-indicator-datetime-74fafe94686325b9c6067203ef81d225ba203889.zip |
Does not add extra ref to timezone object.
-rw-r--r-- | src/engine-eds.cpp | 2 |
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"); |