diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-05-27 05:19:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-05-27 05:19:41 +0800 |
commit | 0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110 (patch) | |
tree | d282033033e0fd8bb3c1632084d4c09f90dbbb2b /calendar/gui/dialogs/event-editor.c | |
parent | 3f213cfbef9142d117fbd9219cf12cbecc39f59e (diff) | |
download | gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.gz gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.bz2 gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.lz gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.xz gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.zst gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui/dialogs/event-editor.c')
-rw-r--r-- | calendar/gui/dialogs/event-editor.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 262751fa86..697dd74ec8 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -287,6 +287,7 @@ event_editor_constructor (GType type, EventEditorPrivate *priv; GtkActionGroup *action_group; GtkWidget *content_area; + EShell *shell; ECal *client; gboolean is_meeting; GtkWidget *alarm_page; @@ -299,6 +300,8 @@ event_editor_constructor (GType type, editor = COMP_EDITOR (object); priv = EVENT_EDITOR_GET_PRIVATE (object); + shell = comp_editor_get_shell (editor); + client = comp_editor_get_client (editor); flags = comp_editor_get_flags (editor); action_group = comp_editor_get_action_group (editor, "coordinated"); @@ -327,7 +330,7 @@ event_editor_constructor (GType type, priv->recur_page = recurrence_page_new (editor); page = COMP_EDITOR_PAGE (priv->recur_page); - if (!e_shell_get_express_mode(e_shell_get_default())) { + if (!e_shell_get_express_mode (shell)) { gtk_container_add ( GTK_CONTAINER ((GTK_DIALOG (priv->recur_window)->vbox)), comp_editor_page_get_widget (page)); @@ -337,7 +340,7 @@ event_editor_constructor (GType type, comp_editor_append_page (editor, page, _("_Recurrence"), TRUE); } - if (e_shell_get_express_mode(e_shell_get_default())) { + if (e_shell_get_express_mode (shell)) { ENameSelector *name_selector; priv->sched_page = schedule_page_new (priv->model, editor); @@ -372,7 +375,7 @@ event_editor_constructor (GType type, event_page_set_meeting (priv->event_page, TRUE); priv->meeting_shown=TRUE; - if (e_shell_get_express_mode(e_shell_get_default())) { + if (e_shell_get_express_mode (shell)) { attendee_page = event_page_get_attendee_page (priv->event_page); comp_editor_append_widget (editor, attendee_page, _("Attendee_s"), TRUE); g_object_unref(attendee_page); |