aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r--calendar/gui/gncal-full-day.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c
index 7a20b3789d..1af9daa65f 100644
--- a/calendar/gui/gncal-full-day.c
+++ b/calendar/gui/gncal-full-day.c
@@ -370,12 +370,13 @@ static void
delete_appointment (GtkWidget *widget, gpointer data)
{
Child *child;
+ GncalFullDay *fullday;
child = data;
- /* FIXME */
+ fullday = GNCAL_FULL_DAY (child->widget->parent);
- printf ("Yay! delete_appointment() not yet implemented\n");
+ gnome_calendar_remove_object (fullday->calendar, child->ico);
}
static void