From 831e7616c7aee818a304c962bf6007d03a29c2ed Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 25 Apr 2011 23:48:39 -0400 Subject: CompEditor cleanups. Random cleanups from the account-mgmt branch, to reduce diff noise. --- calendar/gui/dialogs/comp-editor-page.h | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor-page.h') diff --git a/calendar/gui/dialogs/comp-editor-page.h b/calendar/gui/dialogs/comp-editor-page.h index a58da9b804..2b9f7a4467 100644 --- a/calendar/gui/dialogs/comp-editor-page.h +++ b/calendar/gui/dialogs/comp-editor-page.h @@ -30,6 +30,8 @@ #include #include +#include + /* Standard GObject macros */ #define TYPE_COMP_EDITOR_PAGE \ (comp_editor_page_get_type ()) @@ -80,20 +82,23 @@ struct _CompEditorPage { struct _CompEditorPageClass { GObjectClass parent_class; - /* Notification signals */ - - void (* dates_changed) (CompEditorPage *page, const gchar *dates); - - /* Virtual methods */ - - GtkWidget *(* get_widget) (CompEditorPage *page); - void (* focus_main_widget) (CompEditorPage *page); - - gboolean (* fill_widgets) (CompEditorPage *page, ECalComponent *comp); - gboolean (* fill_component) (CompEditorPage *page, ECalComponent *comp); - gboolean (* fill_timezones) (CompEditorPage *page, GHashTable *timezones); + /* Signals */ + void (*dates_changed) (CompEditorPage *page, + const gchar *dates); - void (* set_dates) (CompEditorPage *page, CompEditorPageDates *dates); + /* Methods */ + GtkWidget * (*get_widget) (CompEditorPage *page); + void (*focus_main_widget) (CompEditorPage *page); + gboolean (*fill_widgets) (CompEditorPage *page, + ECalComponent *comp); + gboolean (*fill_component) (CompEditorPage *page, + ECalComponent *comp); + gboolean (*fill_timezones) (CompEditorPage *page, + GHashTable *timezones); + void (*set_dates) (CompEditorPage *page, + CompEditorPageDates *dates); + void (*add_attendee) (CompEditorPage *page, + EMeetingAttendee *attendee); }; GType comp_editor_page_get_type (void); @@ -114,6 +119,8 @@ gboolean comp_editor_page_fill_timezones (CompEditorPage *page, GHashTable *timezones); void comp_editor_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates); +void comp_editor_page_add_attendee (CompEditorPage *page, + EMeetingAttendee *attendee); void comp_editor_page_notify_dates_changed (CompEditorPage *page, CompEditorPageDates *dates); -- cgit v1.2.3