diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-29 09:01:08 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-29 09:33:01 +0800 |
commit | 41569bb778e228d4f5a04cb1e15bfa5b49bb044b (patch) | |
tree | 3cd61379dbfcca4a9998800bbe9680b87fcb9692 /calendar/gui/e-cal-list-view-config.c | |
parent | 7bebc31932e74db65e3720f32ab2f6664fd9e58b (diff) | |
download | gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.gz gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.zst gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.zip |
Trimming redundancy.
Diffstat (limited to 'calendar/gui/e-cal-list-view-config.c')
-rw-r--r-- | calendar/gui/e-cal-list-view-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-list-view-config.c b/calendar/gui/e-cal-list-view-config.c index 543b5e8eb7..047e89261d 100644 --- a/calendar/gui/e-cal-list-view-config.c +++ b/calendar/gui/e-cal-list-view-config.c @@ -146,11 +146,13 @@ e_cal_list_view_config_get_view (ECalListViewConfig *view_config) static void set_twentyfour_hour (ECalListView *list_view) { + ECalModel *model; gboolean use_24_hour; use_24_hour = calendar_config_get_24_hour_format (); - e_calendar_view_set_use_24_hour_format (E_CALENDAR_VIEW (list_view), use_24_hour); + model = e_calendar_view_get_model (E_CALENDAR_VIEW (list_view)); + e_cal_model_set_use_24_hour_format (model, use_24_hour); } static void |