aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor-page.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-04-26 11:48:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-04-26 12:04:39 +0800
commit831e7616c7aee818a304c962bf6007d03a29c2ed (patch)
tree7395926683411b6eee2a8595c68c0cdae184f498 /calendar/gui/dialogs/comp-editor-page.c
parent6c62a6cc48086f50f9c957f9720ef75a416f8305 (diff)
downloadgsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.tar
gsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.tar.gz
gsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.tar.bz2
gsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.tar.lz
gsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.tar.xz
gsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.tar.zst
gsoc2013-evolution-831e7616c7aee818a304c962bf6007d03a29c2ed.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.c31
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.
*