From bc40e6a71d5eccf0fce96807d71d2f220207259b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 9 Oct 2013 21:06:35 -0500 Subject: move the implementation of indicator_datetime_appt_free() from planner-eds.c to planner.c --- src/planner-eds.c | 19 ------------------- src/planner.c | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/planner-eds.c b/src/planner-eds.c index e5f0b43..b188392 100644 --- a/src/planner-eds.c +++ b/src/planner-eds.c @@ -41,25 +41,6 @@ G_DEFINE_TYPE (IndicatorDatetimePlannerEds, G_DEFINE_QUARK ("source-client", source_client) -/*** -**** -***/ - -void -indicator_datetime_appt_free (struct IndicatorDatetimeAppt * appt) -{ - if (appt != NULL) - { - g_date_time_unref (appt->end); - g_date_time_unref (appt->begin); - g_free (appt->color); - g_free (appt->summary); - g_free (appt->url); - g_free (appt->uid); - g_slice_free (struct IndicatorDatetimeAppt, appt); - } -} - /*** **** **** my_get_appointments() helpers diff --git a/src/planner.c b/src/planner.c index e826c2c..9b9a77f 100644 --- a/src/planner.c +++ b/src/planner.c @@ -259,3 +259,23 @@ indicator_datetime_planner_get_timezone (IndicatorDatetimePlanner * self) return self->priv->timezone; } + +/*** +**** +***/ + +void +indicator_datetime_appt_free (struct IndicatorDatetimeAppt * appt) +{ + if (appt != NULL) + { + g_date_time_unref (appt->end); + g_date_time_unref (appt->begin); + g_free (appt->color); + g_free (appt->summary); + g_free (appt->url); + g_free (appt->uid); + g_slice_free (struct IndicatorDatetimeAppt, appt); + } +} + -- cgit v1.2.3