diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-07 09:27:31 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-17 20:49:12 +0800 |
commit | 3b205698762afcd86ac79595960253d84aff5487 (patch) | |
tree | f0f1ae05b5bd7fbd0008dbd8dbdd10908ebc1c6c /e-util/e-calendar-item.h | |
parent | 5a7097278a6f6eb2a984d9e0c742342135971c35 (diff) | |
download | gsoc2013-evolution-3b205698762afcd86ac79595960253d84aff5487.tar.gz gsoc2013-evolution-3b205698762afcd86ac79595960253d84aff5487.tar.zst gsoc2013-evolution-3b205698762afcd86ac79595960253d84aff5487.zip |
Convert all "week-start-day" properties to GDateWeekday.
Diffstat (limited to 'e-util/e-calendar-item.h')
-rw-r--r-- | e-util/e-calendar-item.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-calendar-item.h b/e-util/e-calendar-item.h index 9a3828f106..09303f14cb 100644 --- a/e-util/e-calendar-item.h +++ b/e-util/e-calendar-item.h @@ -167,8 +167,8 @@ struct _ECalendarItem { /* whether to keep same week days selected on week number click */ gboolean keep_wdays_on_weeknum_click; - /* The first day of the week, 0 (Monday) to 6 (Sunday). */ - gint week_start_day; + /* The first day of the week. */ + GDateWeekday week_start_day; /* Whether the cells expand to fill extra space. */ gboolean expand; @@ -234,7 +234,7 @@ struct _ECalendarItem { gint selection_real_start_day; /* Widths of the day characters. */ - gint day_widths[7]; + gint day_widths[8]; /* indexed by GDateWeekday */ gint max_day_width; /* Widths of the digits, '0' .. '9'. */ |