From 87e60de4aae77bc239ceb67aaa2c7c8bd6a24343 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 29 Apr 2004 19:36:53 +0000 Subject: remove prototypes 2004-04-29 JP Rosevear * gui/tasks-component.h (tasks_component_peek_source_list): remove prototypes * gui/tasks-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal * gui/gnome-cal.h: add signals, protos * gui/gnome-cal.c (gnome_calendar_class_init): add source added and removed signals (client_cal_opened_cb): emit source removed signal (open_ecal): set the status message (backend_died_cb): emit source removed signal (gnome_calendar_set_activity_handler): allow an activity handler to be set (gnome_calendar_add_source): emit source added signal (gnome_calendar_remove_source): emit source removed signal (display_view): update the active activity handler * gui/e-tasks.h: add signal prototypes * gui/e-tasks.c (e_tasks_class_init): add source added and removed signals (backend_died_cb): emit source removed signal (e_tasks_add_todo_source): emit source added/removed signals (e_tasks_remove_todo_source): emit source removed signal * gui/e-calendar-view.h: add proto * gui/e-calendar-view.c (e_calendar_view_set_activity_handler): allow an activity handler to be set (e_calendar_view_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-table.h: add data member and proto * gui/e-calendar-table.c (e_calendar_table_set_activity_handler): allow an activity handler to be set (e_calendar_table_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-marshal.list: add extra marshallers * gui/calendar-component.h: kill protos * gui/calendar-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal svn path=/trunk/; revision=25694 --- calendar/gui/e-tasks.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui/e-tasks.h') diff --git a/calendar/gui/e-tasks.h b/calendar/gui/e-tasks.h index fc3b1ebcfe..26a8c37984 100644 --- a/calendar/gui/e-tasks.h +++ b/calendar/gui/e-tasks.h @@ -54,6 +54,8 @@ struct _ETasksClass { /* Notification signals */ void (* selection_changed) (ETasks *tasks, int n_selected); + void (* source_added) (ETasks *tasks, ESource *source); + void (* source_removed) (ETasks *tasks, ESource *source); }; -- cgit v1.2.3