From 9e1f2db6694791beaf0f7340de2f523c95f2551b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 20 May 2015 20:50:53 -0500 Subject: remove a little more leftover code from the false starts --- src/engine-eds.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/engine-eds.cpp') 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(>z, g_time_zone_unref); - } }; static std::string get_alarm_text(ECalComponentAlarm * alarm) -- cgit v1.2.3