aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-09 21:06:35 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-09 21:06:35 -0500
commitbc40e6a71d5eccf0fce96807d71d2f220207259b (patch)
treebec70f8d205010fab7460da8bd894b6e44ef959c /src
parentba639a9fb011ad337eef8d2bd5e4bcbdca3b136a (diff)
downloadayatana-indicator-datetime-bc40e6a71d5eccf0fce96807d71d2f220207259b.tar.gz
ayatana-indicator-datetime-bc40e6a71d5eccf0fce96807d71d2f220207259b.tar.bz2
ayatana-indicator-datetime-bc40e6a71d5eccf0fce96807d71d2f220207259b.zip
move the implementation of indicator_datetime_appt_free() from planner-eds.c to planner.c
Diffstat (limited to 'src')
-rw-r--r--src/planner-eds.c19
-rw-r--r--src/planner.c20
2 files changed, 20 insertions, 19 deletions
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
@@ -43,25 +43,6 @@ 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);
+ }
+}
+