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-day-view-config.c | |
parent | 7bebc31932e74db65e3720f32ab2f6664fd9e58b (diff) | |
download | gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.gz gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.bz2 gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.lz gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.xz gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.tar.zst gsoc2013-evolution-41569bb778e228d4f5a04cb1e15bfa5b49bb044b.zip |
Trimming redundancy.
Diffstat (limited to 'calendar/gui/e-day-view-config.c')
-rw-r--r-- | calendar/gui/e-day-view-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view-config.c b/calendar/gui/e-day-view-config.c index a193e7bfa0..b9eff43bcd 100644 --- a/calendar/gui/e-day-view-config.c +++ b/calendar/gui/e-day-view-config.c @@ -170,11 +170,13 @@ week_start_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointe static void set_twentyfour_hour (EDayView *day_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 (day_view), use_24_hour); + model = e_calendar_view_get_model (E_CALENDAR_VIEW (day_view)); + e_cal_model_set_use_24_hour_format (model, use_24_hour); /* To redraw the times */ gtk_widget_queue_draw (day_view->time_canvas); |