From 9e60ca1bb2c10e5f299714b1fde83d1d8da73a04 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Thu, 25 Jan 2001 03:48:56 +0000 Subject: e_calendar_item_get_date_range() now returns a boolean, which is FALSE if 2001-01-25 Damon Chaplin * 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 --- widgets/misc/e-calendar-item.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'widgets/misc/e-calendar-item.h') 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, -- cgit v1.2.3