diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/planner-eds.c | 19 | ||||
-rw-r--r-- | src/planner.c | 20 |
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); + } +} + |