From aa8ae8383f6f1e4a7e84bb6cc8a4c708e044130d Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 8 Mar 2000 03:47:29 +0000 Subject: back out recent commit, and remove calendar.[ch] from Makefile.am svn path=/trunk/; revision=2083 --- calendar/gui/alarm.h | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) (limited to 'calendar/gui/alarm.h') diff --git a/calendar/gui/alarm.h b/calendar/gui/alarm.h index 7e16952240..6bb5c1afa5 100644 --- a/calendar/gui/alarm.h +++ b/calendar/gui/alarm.h @@ -2,25 +2,12 @@ #define ALARM_H #include -#include "cal-client/cal-client-alarm.h" +#include "pcs/calobj.h" -typedef struct { - /* Widgets */ - void *w_count; /* A GtkEntry */ - void *w_enabled; /* A GtkChecButton */ - void *w_timesel; /* A GtkMenu */ - void *w_entry; /* A GnomeEntryFile/GtkEntry for PROGRAM/MAIL */ - void *w_label; +typedef void (*AlarmFunction)(time_t time, CalendarAlarm *which, void *closuse); - AlarmHandle alarm_handle; /* something that hooks to the server */ -} CalendarAlarmUI; - -typedef void (*AlarmFunction) (time_t time, - CalendarAlarmUI *which, - void *closuse); - -void alarm_init (void); -gboolean alarm_add (CalendarAlarmUI *alarm, AlarmFunction fn, void *closure); -int alarm_kill (void *closure); +void alarm_init (void); +gboolean alarm_add (CalendarAlarm *alarm, AlarmFunction fn, void *closure); +int alarm_kill (void *closure); #endif -- cgit v1.2.3