aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 4fc9285b2a..f23b272bdd 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -974,6 +974,17 @@ e_cal_model_set_default_category (ECalModel *model, const gchar *default_cat)
}
/**
+ * e_cal_model_get_use_24_hour_format
+ */
+gboolean
+e_cal_model_get_use_24_hour_format (ECalModel *model)
+{
+ g_return_val_if_fail (E_IS_CAL_MODEL (model), FALSE);
+
+ return model->priv->use_24_hour_format;
+}
+
+/**
* e_cal_model_set_use_24_hour_format
*/
void