diff options
author | Damon Chaplin <damon@ximian.com> | 2001-01-25 11:48:56 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-01-25 11:48:56 +0800 |
commit | 9e60ca1bb2c10e5f299714b1fde83d1d8da73a04 (patch) | |
tree | 141281cdc3cf28809fd00e3f1c030fd2de8e3cb9 /widgets/misc/e-calendar-item.h | |
parent | 00044b17d710a88a708ae498581e2bdbd4a76207 (diff) | |
download | gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.tar gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.tar.gz gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.tar.bz2 gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.tar.lz gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.tar.xz gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.tar.zst gsoc2013-evolution-9e60ca1bb2c10e5f299714b1fde83d1d8da73a04.zip |
e_calendar_item_get_date_range() now returns a boolean, which is FALSE if
2001-01-25 Damon Chaplin <damon@ximian.com>
* e-calendar-item.[hc]: e_calendar_item_get_date_range() now returns
a boolean, which is FALSE if no dates are currently shown.
Plus a couple of minor sanity checks.
svn path=/trunk/; revision=7799
Diffstat (limited to 'widgets/misc/e-calendar-item.h')
-rw-r--r-- | widgets/misc/e-calendar-item.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h index f638b16573..0e655cf355 100644 --- a/widgets/misc/e-calendar-item.h +++ b/widgets/misc/e-calendar-item.h @@ -261,10 +261,11 @@ gint e_calendar_item_get_days_start_week_sel(ECalendarItem *calitem); void e_calendar_item_set_days_start_week_sel(ECalendarItem *calitem, gint days); -/* Returns the range of dates actually shown. Months are 0 to 11. +/* Gets the range of dates actually shown. Months are 0 to 11. This also includes the last days of the previous month and the first days - of the following month, which are normally shown in gray. */ -void e_calendar_item_get_date_range (ECalendarItem *calitem, + of the following month, which are normally shown in gray. + It returns FALSE if no dates are currently shown. */ +gboolean e_calendar_item_get_date_range (ECalendarItem *calitem, gint *start_year, gint *start_month, gint *start_day, |