aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-05-20 20:50:53 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-05-20 20:50:53 -0500
commit9e1f2db6694791beaf0f7340de2f523c95f2551b (patch)
tree0a9966b831a3dfd448f59f942236e0019a25a358
parent70ccd1abfa7721393217336ba4048a2c51d76246 (diff)
downloadayatana-indicator-datetime-9e1f2db6694791beaf0f7340de2f523c95f2551b.tar.gz
ayatana-indicator-datetime-9e1f2db6694791beaf0f7340de2f523c95f2551b.tar.bz2
ayatana-indicator-datetime-9e1f2db6694791beaf0f7340de2f523c95f2551b.zip
remove a little more leftover code from the false starts
-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)