aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-notify-dialog.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-06 20:21:49 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-06 20:21:49 +0800
commit245d1c200e2d09a77c540f1874d1c0eb31c2dbd3 (patch)
treede0d1813e3090ff2ee5a4753f685f5b6ae24b80c /calendar/gui/alarm-notify/alarm-notify-dialog.h
parent64c201dff22bb74066debb18826ab5b176750e22 (diff)
downloadgsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.tar
gsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.tar.gz
gsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.tar.bz2
gsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.tar.lz
gsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.tar.xz
gsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.tar.zst
gsoc2013-evolution-245d1c200e2d09a77c540f1874d1c0eb31c2dbd3.zip
new function. (alarm_notify_dialog): made it return a pointer to the
2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog_disable_buttons): new function. (alarm_notify_dialog): made it return a pointer to the dialog structure. * gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted alarm removal out of remove_comp. (obj_updated_cb): remove the component only when needed. In normal updates, just update the internal structure. (edit_component): don't get a CompQueuedAlarms as argument, since it might be removed. (on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for modifications during dialog display. (notify_dialog_cb): disconnect from "obj_*ed" signals and call edit_component with the new set of arguments. (display_notification): added more data to the closure structure. svn path=/trunk/; revision=20185
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-notify-dialog.h')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.h b/calendar/gui/alarm-notify/alarm-notify-dialog.h
index 812463de8d..39cadbca0b 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.h
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.h
@@ -35,10 +35,10 @@ typedef enum {
typedef void (* AlarmNotifyFunc) (AlarmNotifyResult result, int snooze_mins, gpointer data);
-gboolean alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end,
+gpointer alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end,
CalComponentVType vtype, const char *message,
AlarmNotifyFunc func, gpointer func_data);
-
+void alarm_notify_dialog_disable_buttons (gpointer dialog);
#endif