From fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Sun, 12 Apr 1998 00:17:12 +0000 Subject: Begginning of the create-appointment-on-range-selection-and-enter code -miguel svn path=/trunk/; revision=127 --- calendar/gncal-full-day.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'calendar/gncal-full-day.c') diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c index acf937f14f..9a14230f92 100644 --- a/calendar/gncal-full-day.c +++ b/calendar/gncal-full-day.c @@ -1469,3 +1469,21 @@ gncal_full_day_set_bounds (GncalFullDay *fullday, time_t lower, time_t upper) gncal_full_day_update (fullday); } } + +/* + * Returns the selected range + */ +int +gncal_full_day_selection_range (GncalFullDay *fullday, time_t *lower, time_t *upper) +{ + struct drag_info *di; + + g_return_val_if_fail (fullday != NULL, 0); + g_return_val_if_fail (GNCAL_IS_FULL_DAY (fullday), 0); + g_return_val_if_fail (lower != NULL, 0); + g_return_val_if_fail (upper != NULL, 0); + + di = fullday->drag_info; + + return 1; +} -- cgit