aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine-eds.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index d2b2fa0..563d9a3 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -139,7 +139,6 @@ public:
auto end_str = isodate_from_time_t(end_timet);
auto sexp = g_strdup_printf("(has-alarms-in-range? (make-time \"%s\") (make-time \"%s\"))", begin_str, end_str);
g_debug("%s sexp is %s", G_STRLOC, sexp);
- //e_cal_client_get_object_list(client,
e_cal_client_get_object_list_as_comps(client,
sexp,
m_cancellable,
@@ -425,7 +424,6 @@ private:
ECalClient* client;
std::string color;
icaltimezone* default_timezone;
- GTimeZone * gtz;
DateTime begin;
DateTime end;
@@ -438,18 +436,12 @@ private:
task(task_in),
client(client_in),
default_timezone(default_tz),
- gtz(g_time_zone_new(icaltimezone_get_location(default_tz))),
begin(begin_),
end(end_)
{
if (color_in)
color = color_in;
}
-
- ~AppointmentSubtask()
- {
- g_clear_pointer(&gtz, g_time_zone_unref);
- }
};
static std::string get_alarm_text(ECalComponentAlarm * alarm)