diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-26 11:48:39 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:56 +0800 |
commit | d2e0897fcffad81ad5e1518d9dcb969066b68412 (patch) | |
tree | c913ce92039d68569444dadb72d1b3bba50dce6d /calendar/gui/dialogs/comp-editor-page.c | |
parent | 5bbc4cfb078d1d8d547e9b081194695a89473d9b (diff) | |
download | gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.tar gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.tar.gz gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.tar.bz2 gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.tar.lz gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.tar.xz gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.tar.zst gsoc2013-evolution-d2e0897fcffad81ad5e1518d9dcb969066b68412.zip |
CompEditor cleanups.
Random cleanups from the account-mgmt branch, to reduce diff noise.
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-page.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor-page.c | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c index a18b82c940..89adf7c491 100644 --- a/calendar/gui/dialogs/comp-editor-page.c +++ b/calendar/gui/dialogs/comp-editor-page.c @@ -129,15 +129,6 @@ comp_editor_page_class_init (CompEditorPageClass *class) object_class->get_property = comp_editor_page_get_property; object_class->dispose = comp_editor_page_dispose; - class->dates_changed = NULL; - - class->get_widget = NULL; - class->focus_main_widget = NULL; - class->fill_widgets = NULL; - class->fill_component = NULL; - class->fill_timezones = NULL; - class->set_dates = NULL; - g_object_class_install_property ( object_class, PROP_EDITOR, @@ -400,6 +391,28 @@ comp_editor_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates) } /** + * comp_editor_page_add_attendee: + * @page: a #CompEditorPage + * @attendee: an #EMeetingAttendee + * + * Adds @attendee to an internal meeting store. + **/ +void +comp_editor_page_add_attendee (CompEditorPage *page, + EMeetingAttendee *attendee) +{ + CompEditorPageClass *class; + + g_return_if_fail (IS_COMP_EDITOR_PAGE (page)); + g_return_if_fail (E_IS_MEETING_ATTENDEE (attendee)); + + class = COMP_EDITOR_PAGE_GET_CLASS (page); + g_return_if_fail (class->add_attendee != NULL); + + class->add_attendee (page, attendee); +} + +/** * comp_editor_page_notify_dates_changed: * @page: An editor page. * |