diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-12 08:17:12 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-12 08:17:12 +0800 |
commit | fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8 (patch) | |
tree | fcb69b57676e25f102083069ffc71651dc182e8e /calendar/gui/gncal-full-day.c | |
parent | b265b27dfc1e68424d509a17b9c6466adbae3fc9 (diff) | |
download | gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar.gz gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar.zst gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.zip |
Begginning of the create-appointment-on-range-selection-and-enter code -miguel
svn path=/trunk/; revision=127
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r-- | calendar/gui/gncal-full-day.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c index acf937f14f..9a14230f92 100644 --- a/calendar/gui/gncal-full-day.c +++ b/calendar/gui/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; +} |