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-week-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-week-view-config.c')
-rw-r--r-- | calendar/gui/e-week-view-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-config.c b/calendar/gui/e-week-view-config.c index 641857e133..fddc8667c6 100644 --- a/calendar/gui/e-week-view-config.c +++ b/calendar/gui/e-week-view-config.c @@ -170,11 +170,13 @@ week_start_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointe static void set_twentyfour_hour (EWeekView *week_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 (week_view), use_24_hour); + model = e_calendar_view_get_model (E_CALENDAR_VIEW (week_view)); + e_cal_model_set_use_24_hour_format (model, use_24_hour); } static void |