aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-full-day.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-12 08:17:12 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-12 08:17:12 +0800
commitfbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8 (patch)
treefcb69b57676e25f102083069ffc71651dc182e8e /calendar/gncal-full-day.c
parentb265b27dfc1e68424d509a17b9c6466adbae3fc9 (diff)
downloadgsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar
gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar.gz
gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar.bz2
gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar.lz
gsoc2013-evolution-fbc607b0edbdc39297d17c0ecc75b45e4bfbb0c8.tar.xz
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/gncal-full-day.c')
-rw-r--r--calendar/gncal-full-day.c18
1 files changed, 18 insertions, 0 deletions
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;
+}