aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-07-17 07:15:04 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-07-17 07:15:04 +0800
commit96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901 (patch)
treec4151f2597d4d74d966f4bfd0c3aa1f33a5fae20 /calendar/gui/gnome-cal.h
parenta15a6521f85105956a651e96e7e671f7b819ff95 (diff)
downloadgsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.tar
gsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.tar.gz
gsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.tar.bz2
gsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.tar.lz
gsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.tar.xz
gsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.tar.zst
gsoc2013-evolution-96d8c5e1a3ade337ee1e7dcbe81b2b52d2a90901.zip
new function, which uses a CalQuery to retrieve the objects older than a
2003-07-16 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.[ch] (gnome_calendar_purge): new function, which uses a CalQuery to retrieve the objects older than a given date. (check_instance_cb): callback for cal_recur_generate_instances. (purging_obj_updated_cb): call check_instance_cb on each recurrence to double-check the event can be deleted. (purging_query_done_cb, purging_eval_error_cb): needed callbacks to finish the query. (gnome_calendar_destroy): free new members. * gui/calendar-commands.c (purge_cmd): added implementation for the 'Purge' menu item. svn path=/trunk/; revision=21846
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index 22bae4f735..e573a55fbb 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -184,6 +184,8 @@ void gnome_calendar_paste_clipboard (GnomeCalendar *gcal);
void gnome_calendar_delete_selection (GnomeCalendar *gcal);
void gnome_calendar_delete_selected_occurrence (GnomeCalendar *gcal);
+void gnome_calendar_purge (GnomeCalendar *gcal,
+ time_t older_than);