[evolution/wip/mcrha/eds-libical-glib] Cover renamed defines in libecal



commit 8849c06e0e3d1a21504e3238104bcd7e7da6fbcc
Author: Milan Crha <mcrha redhat com>
Date:   Wed Mar 20 18:56:05 2019 +0100

    Cover renamed defines in libecal

 src/calendar/gui/e-calendar-view.c               |  2 +-
 src/calendar/gui/e-comp-editor-event.c           |  2 +-
 src/calendar/gui/e-comp-editor-memo.c            |  2 +-
 src/calendar/gui/e-comp-editor-page-general.c    |  6 +++---
 src/calendar/gui/e-comp-editor-page-reminders.c  | 16 ++++++++--------
 src/calendar/gui/e-comp-editor-task.c            |  6 +++---
 src/calendar/gui/e-comp-editor.c                 | 14 +++++++-------
 src/calendar/gui/itip-utils.c                    | 12 ++++++------
 src/modules/calendar/e-cal-shell-content.c       |  4 ++--
 src/modules/calendar/e-cal-shell-view-taskpad.c  |  4 ++--
 src/modules/calendar/e-task-shell-content.c      |  4 ++--
 src/modules/itip-formatter/itip-view.c           |  6 +++---
 src/plugins/mail-to-task/mail-to-task.c          |  6 +++---
 src/plugins/publish-calendar/publish-format-fb.c |  2 +-
 14 files changed, 43 insertions(+), 43 deletions(-)
---
diff --git a/src/calendar/gui/e-calendar-view.c b/src/calendar/gui/e-calendar-view.c
index b609dd64ff..80c9443b0b 100644
--- a/src/calendar/gui/e-calendar-view.c
+++ b/src/calendar/gui/e-calendar-view.c
@@ -142,7 +142,7 @@ calendar_view_check_for_retract (ECalComponent *comp,
        strip = itip_strip_mailto (organizer.value);
 
        ret_val =
-               e_client_get_backend_property_sync (E_CLIENT (client), 
CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS, &email, NULL, NULL) &&
+               e_client_get_backend_property_sync (E_CLIENT (client), 
E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS, &email, NULL, NULL) &&
                (g_ascii_strcasecmp (email, strip) == 0);
 
        g_free (email);
diff --git a/src/calendar/gui/e-comp-editor-event.c b/src/calendar/gui/e-comp-editor-event.c
index 361c1e3d3d..95ba9d4c11 100644
--- a/src/calendar/gui/e-comp-editor-event.c
+++ b/src/calendar/gui/e-comp-editor-event.c
@@ -431,7 +431,7 @@ ece_event_client_needs_all_day_as_time (ECompEditor *comp_editor)
 
        client = e_comp_editor_get_target_client (comp_editor);
 
-       return client && e_client_check_capability (E_CLIENT (client), 
CAL_STATIC_CAPABILITY_ALL_DAY_EVENT_AS_TIME);
+       return client && e_client_check_capability (E_CLIENT (client), 
E_CAL_STATIC_CAPABILITY_ALL_DAY_EVENT_AS_TIME);
 }
 
 static gboolean
diff --git a/src/calendar/gui/e-comp-editor-memo.c b/src/calendar/gui/e-comp-editor-memo.c
index b68d378dbe..a025c44e44 100644
--- a/src/calendar/gui/e-comp-editor-memo.c
+++ b/src/calendar/gui/e-comp-editor-memo.c
@@ -56,7 +56,7 @@ ece_memo_notify_target_client_cb (GObject *object,
        comp_editor = E_COMP_EDITOR (memo_editor);
        cal_client = e_comp_editor_get_target_client (comp_editor);
 
-       supports_date = !cal_client || !e_client_check_capability (E_CLIENT (cal_client), 
CAL_STATIC_CAPABILITY_NO_MEMO_START_DATE);
+       supports_date = !cal_client || !e_client_check_capability (E_CLIENT (cal_client), 
E_CAL_STATIC_CAPABILITY_NO_MEMO_START_DATE);
 
        e_comp_editor_property_part_set_visible (memo_editor->priv->dtstart, supports_date);
 }
diff --git a/src/calendar/gui/e-comp-editor-page-general.c b/src/calendar/gui/e-comp-editor-page-general.c
index ee4bbdf080..7e09784674 100644
--- a/src/calendar/gui/e-comp-editor-page-general.c
+++ b/src/calendar/gui/e-comp-editor-page-general.c
@@ -466,7 +466,7 @@ ecep_general_attendee_added_cb (EMeetingListView *meeting_list_view,
        e_meeting_attendee_set_delfrom (attendee, g_strdup_printf ("MAILTO:%s",
                page_general->priv->user_delegator ? page_general->priv->user_delegator : ""));
 
-       if (client && !e_client_check_capability (E_CLIENT (client), CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY)) 
{
+       if (client && !e_client_check_capability (E_CLIENT (client), 
E_CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY)) {
                EMeetingAttendee *delegator;
 
                delegator = e_meeting_store_find_attendee (page_general->priv->meeting_store,
@@ -600,7 +600,7 @@ ecep_general_target_client_notify_cb (ECompEditor *comp_editor,
 
                target_client = e_comp_editor_get_target_client (comp_editor);
                if (target_client)
-                       supports_color = e_client_check_capability (E_CLIENT (target_client), 
CAL_STATIC_CAPABILITY_COMPONENT_COLOR);
+                       supports_color = e_client_check_capability (E_CLIENT (target_client), 
E_CAL_STATIC_CAPABILITY_COMPONENT_COLOR);
 
                e_comp_editor_property_part_set_visible (page_general->priv->comp_color, supports_color);
        }
@@ -827,7 +827,7 @@ ecep_general_sensitize_widgets (ECompEditorPage *page,
                EClient *cl = E_CLIENT (client);
 
                read_only = e_client_is_readonly (cl);
-               delegate_to_many = e_client_check_capability (cl, CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY);
+               delegate_to_many = e_client_check_capability (cl, E_CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY);
        } else {
                force_insensitive = TRUE;
        }
diff --git a/src/calendar/gui/e-comp-editor-page-reminders.c b/src/calendar/gui/e-comp-editor-page-reminders.c
index 6ab164a8a0..dfe378ca4c 100644
--- a/src/calendar/gui/e-comp-editor-page-reminders.c
+++ b/src/calendar/gui/e-comp-editor-page-reminders.c
@@ -90,10 +90,10 @@ static const gint action_map[] = {
 };
 
 static const gchar *action_map_cap[] = {
-       CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS,
-       CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS,
-       CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS,
-       CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS
+       E_CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS,
+       E_CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS,
+       E_CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS,
+       E_CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS
 };
 
 static const gint value_map[] = {
@@ -963,7 +963,7 @@ ecep_reminders_set_alarm_email (ECompEditorPageReminders *page_reminders)
        target_client = e_comp_editor_get_target_client (comp_editor);
 
        if (target_client &&
-           !e_client_check_capability (E_CLIENT (target_client), CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS)) {
+           !e_client_check_capability (E_CLIENT (target_client), E_CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS)) {
                ENameSelectorModel *selector_model;
                EDestinationStore *destination_store = NULL;
                const gchar *alarm_email;
@@ -1269,7 +1269,7 @@ ecep_reminders_sensitize_relative_time_combo_items (GtkWidget *combobox,
        gboolean alarm_after_start;
        gint ii;
 
-       alarm_after_start = !e_client_check_capability (client, CAL_STATIC_CAPABILITY_NO_ALARM_AFTER_START);
+       alarm_after_start = !e_client_check_capability (client, E_CAL_STATIC_CAPABILITY_NO_ALARM_AFTER_START);
        model = gtk_combo_box_get_model (GTK_COMBO_BOX (combobox));
        valid = gtk_tree_model_get_iter_first (model, &iter);
 
@@ -1312,7 +1312,7 @@ ecep_reminders_sensitize_widgets_by_client (ECompEditorPageReminders *page_remin
                target_client, time_map, E_CAL_COMPONENT_ALARM_TRIGGER_RELATIVE_END);
 
        /* If the client doesn't support set alarm description, disable the related widgets */
-       if (e_client_check_capability (target_client, CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION)) {
+       if (e_client_check_capability (target_client, E_CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION)) {
                gtk_widget_show (page_reminders->priv->custom_message_check);
                gtk_widget_show (page_reminders->priv->custom_message_text_view);
        } else {
@@ -1325,7 +1325,7 @@ ecep_reminders_sensitize_widgets_by_client (ECompEditorPageReminders *page_remin
 
        /* If we can repeat */
        gtk_widget_set_sensitive (page_reminders->priv->repeat_check,
-               !e_client_check_capability (target_client, CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT));
+               !e_client_check_capability (target_client, E_CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT));
 }
 
 static void
diff --git a/src/calendar/gui/e-comp-editor-task.c b/src/calendar/gui/e-comp-editor-task.c
index 0493cecb0e..05990ef9cd 100644
--- a/src/calendar/gui/e-comp-editor-task.c
+++ b/src/calendar/gui/e-comp-editor-task.c
@@ -189,7 +189,7 @@ ece_task_notify_target_client_cb (GObject *object,
        action = e_comp_editor_get_action (comp_editor, "all-day-task");
        was_allday = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action));
 
-       date_only = !cal_client || e_client_check_capability (E_CLIENT (cal_client), 
CAL_STATIC_CAPABILITY_TASK_DATE_ONLY);
+       date_only = !cal_client || e_client_check_capability (E_CLIENT (cal_client), 
E_CAL_STATIC_CAPABILITY_TASK_DATE_ONLY);
 
        e_comp_editor_property_part_datetime_set_date_only (E_COMP_EDITOR_PROPERTY_PART_DATETIME 
(task_editor->priv->dtstart), date_only);
        e_comp_editor_property_part_datetime_set_date_only (E_COMP_EDITOR_PROPERTY_PART_DATETIME 
(task_editor->priv->due_date), date_only);
@@ -209,10 +209,10 @@ ece_task_notify_target_client_cb (GObject *object,
                gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);
        }
 
-       can_reminders = !cal_client || !e_client_check_capability (E_CLIENT (cal_client), 
CAL_STATIC_CAPABILITY_TASK_NO_ALARM);
+       can_reminders = !cal_client || !e_client_check_capability (E_CLIENT (cal_client), 
E_CAL_STATIC_CAPABILITY_TASK_NO_ALARM);
        gtk_widget_set_visible (GTK_WIDGET (task_editor->priv->reminders_page), can_reminders);
 
-       can_recur = !cal_client || e_client_check_capability (E_CLIENT (cal_client), 
CAL_STATIC_CAPABILITY_TASK_CAN_RECUR);
+       can_recur = !cal_client || e_client_check_capability (E_CLIENT (cal_client), 
E_CAL_STATIC_CAPABILITY_TASK_CAN_RECUR);
        gtk_widget_set_visible (GTK_WIDGET (task_editor->priv->recurrence_page), can_recur);
 }
 
diff --git a/src/calendar/gui/e-comp-editor.c b/src/calendar/gui/e-comp-editor.c
index 455a897eaa..ef877dfb2d 100644
--- a/src/calendar/gui/e-comp-editor.c
+++ b/src/calendar/gui/e-comp-editor.c
@@ -371,7 +371,7 @@ ece_send_process_method (SaveData *sd,
        g_return_val_if_fail (send_method != E_CAL_COMPONENT_METHOD_NONE, FALSE);
 
        if (e_cal_component_has_attachments (send_comp) &&
-           e_client_check_capability (E_CLIENT (sd->target_client), CAL_STATIC_CAPABILITY_CREATE_MESSAGES)) {
+           e_client_check_capability (E_CLIENT (sd->target_client), 
E_CAL_STATIC_CAPABILITY_CREATE_MESSAGES)) {
                /* Clone the component with attachments set to CID:...  */
                GSList *attach_list = NULL;
                GSList *attach;
@@ -1098,14 +1098,14 @@ comp_editor_open_target_client_thread (EAlertSinkThreadJobData *job_data,
 
                if (!g_cancellable_is_cancelled (cancellable)) {
                        e_client_get_backend_property_sync (otc->client,
-                               CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS,
+                               E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS,
                                &otc->cal_email_address,
                                cancellable, error);
                }
 
                if (!g_cancellable_is_cancelled (cancellable)) {
                        e_client_get_backend_property_sync (otc->client,
-                               CAL_BACKEND_PROPERTY_ALARM_EMAIL_ADDRESS,
+                               E_CAL_BACKEND_PROPERTY_ALARM_EMAIL_ADDRESS,
                                &otc->alarm_email_address,
                                cancellable, error);
                }
@@ -1339,7 +1339,7 @@ e_comp_editor_prompt_and_save_changes (ECompEditor *comp_editor,
                if (comp_editor->priv->component &&
                    e_comp_editor_page_general_get_show_attendees (comp_editor->priv->page_general) &&
                    icalcomponent_isa (comp_editor->priv->component) == ICAL_VTODO_COMPONENT
-                   && e_client_check_capability (E_CLIENT (comp_editor->priv->target_client), 
CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT)) {
+                   && e_client_check_capability (E_CLIENT (comp_editor->priv->target_client), 
E_CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT)) {
                        e_alert_submit (
                                E_ALERT_SINK (comp_editor),
                                "calendar:prompt-no-task-assignment-editor",
@@ -1471,7 +1471,7 @@ ece_organizer_email_address_is_user (ECompEditor *comp_editor,
                return TRUE;
        }
 
-       if (is_organizer && e_client_check_capability (client, 
CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS))
+       if (is_organizer && e_client_check_capability (client, 
E_CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS))
                return FALSE;
 
        registry = e_shell_get_registry (e_comp_editor_get_shell (comp_editor));
@@ -1492,7 +1492,7 @@ ece_organizer_is_user (ECompEditor *comp_editor,
        g_return_val_if_fail (E_IS_CAL_CLIENT (client), FALSE);
 
        prop = icalcomponent_get_first_property (component, ICAL_ORGANIZER_PROPERTY);
-       if (!prop || e_client_check_capability (client, CAL_STATIC_CAPABILITY_NO_ORGANIZER))
+       if (!prop || e_client_check_capability (client, E_CAL_STATIC_CAPABILITY_NO_ORGANIZER))
                return FALSE;
 
        organizer = itip_strip_mailto (icalproperty_get_organizer (prop));
@@ -1516,7 +1516,7 @@ ece_sentby_is_user (ECompEditor *comp_editor,
        g_return_val_if_fail (E_IS_CAL_CLIENT (client), FALSE);
 
        prop = icalcomponent_get_first_property (component, ICAL_ORGANIZER_PROPERTY);
-       if (!prop || e_client_check_capability (client, CAL_STATIC_CAPABILITY_NO_ORGANIZER))
+       if (!prop || e_client_check_capability (client, E_CAL_STATIC_CAPABILITY_NO_ORGANIZER))
                return FALSE;
 
        param = icalproperty_get_first_parameter (prop, ICAL_SENTBY_PARAMETER);
diff --git a/src/calendar/gui/itip-utils.c b/src/calendar/gui/itip-utils.c
index 5e2b88c396..836b72ac67 100644
--- a/src/calendar/gui/itip-utils.c
+++ b/src/calendar/gui/itip-utils.c
@@ -346,7 +346,7 @@ itip_organizer_is_user_ex (ESourceRegistry *registry,
 
        if (!e_cal_component_has_organizer (comp) ||
                (!skip_cap_test && e_client_check_capability (
-               E_CLIENT (cal_client), CAL_STATIC_CAPABILITY_NO_ORGANIZER)))
+               E_CLIENT (cal_client), E_CAL_STATIC_CAPABILITY_NO_ORGANIZER)))
                return FALSE;
 
        e_cal_component_get_organizer (comp, &organizer);
@@ -356,7 +356,7 @@ itip_organizer_is_user_ex (ESourceRegistry *registry,
                strip = itip_strip_mailto (organizer.value);
 
                if (e_client_get_backend_property_sync (E_CLIENT (cal_client),
-                                                       CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS,
+                                                       E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS,
                                                        &email, NULL, NULL) &&
                                email && g_ascii_strcasecmp (email, strip) == 0) {
                        g_free (email);
@@ -366,7 +366,7 @@ itip_organizer_is_user_ex (ESourceRegistry *registry,
 
                g_free (email);
 
-               if (e_client_check_capability (E_CLIENT (cal_client), 
CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS)) {
+               if (e_client_check_capability (E_CLIENT (cal_client), 
E_CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS)) {
                        return FALSE;
                }
 
@@ -389,7 +389,7 @@ itip_sentby_is_user (ESourceRegistry *registry,
 
        if (!e_cal_component_has_organizer (comp) ||
                e_client_check_capability (
-               E_CLIENT (cal_client), CAL_STATIC_CAPABILITY_NO_ORGANIZER))
+               E_CLIENT (cal_client), E_CAL_STATIC_CAPABILITY_NO_ORGANIZER))
                return FALSE;
 
        e_cal_component_get_organizer (comp, &organizer);
@@ -527,7 +527,7 @@ itip_get_comp_attendee (ESourceRegistry *registry,
        if (cal_client)
                e_client_get_backend_property_sync (
                        E_CLIENT (cal_client),
-                       CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS,
+                       E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS,
                        &address, NULL, NULL);
 
        if (address != NULL && *address != '\0') {
@@ -1981,7 +1981,7 @@ itip_send_component_begin (ItipSendComponentData *isc,
 
        /* check whether backend could handle sending requests/updates */
        if (isc->method != E_CAL_COMPONENT_METHOD_PUBLISH &&
-           e_client_check_capability (E_CLIENT (isc->cal_client), CAL_STATIC_CAPABILITY_CREATE_MESSAGES)) {
+           e_client_check_capability (E_CLIENT (isc->cal_client), E_CAL_STATIC_CAPABILITY_CREATE_MESSAGES)) {
                isc->success = TRUE;
                isc->completed = TRUE;
        }
diff --git a/src/modules/calendar/e-cal-shell-content.c b/src/modules/calendar/e-cal-shell-content.c
index 25b876d6d8..cf0f397054 100644
--- a/src/modules/calendar/e-cal-shell-content.c
+++ b/src/modules/calendar/e-cal-shell-content.c
@@ -1012,12 +1012,12 @@ cal_shell_content_check_state (EShellContent *shell_content)
                        e_cal_util_component_has_organizer (icalcomp) &&
                        itip_organizer_is_user (registry, comp, client);
 
-               capability = CAL_STATIC_CAPABILITY_DELEGATE_SUPPORTED;
+               capability = E_CAL_STATIC_CAPABILITY_DELEGATE_SUPPORTED;
                cap_delegate_supported =
                        e_client_check_capability (
                        E_CLIENT (client), capability);
 
-               capability = CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY;
+               capability = E_CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY;
                cap_delegate_to_many =
                        e_client_check_capability (
                        E_CLIENT (client), capability);
diff --git a/src/modules/calendar/e-cal-shell-view-taskpad.c b/src/modules/calendar/e-cal-shell-view-taskpad.c
index c16678f1f4..8deada2f36 100644
--- a/src/modules/calendar/e-cal-shell-view-taskpad.c
+++ b/src/modules/calendar/e-cal-shell-view-taskpad.c
@@ -437,11 +437,11 @@ e_cal_shell_view_taskpad_actions_update (ECalShellView *cal_shell_view)
                read_only = e_client_is_readonly (E_CLIENT (comp_data->client));
                editable &= !read_only;
 
-               cap = CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT;
+               cap = E_CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT;
                if (e_client_check_capability (E_CLIENT (comp_data->client), cap))
                        assignable = FALSE;
 
-               cap = CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK;
+               cap = E_CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK;
                if (e_client_check_capability (E_CLIENT (comp_data->client), cap))
                        assignable = FALSE;
 
diff --git a/src/modules/calendar/e-task-shell-content.c b/src/modules/calendar/e-task-shell-content.c
index c425d8f74a..88d403c4c9 100644
--- a/src/modules/calendar/e-task-shell-content.c
+++ b/src/modules/calendar/e-task-shell-content.c
@@ -291,11 +291,11 @@ task_shell_content_check_state (EShellContent *shell_content)
                read_only = e_client_is_readonly (E_CLIENT (comp_data->client));
                editable &= !read_only;
 
-               cap = CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT;
+               cap = E_CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT;
                if (e_client_check_capability (E_CLIENT (comp_data->client), cap))
                        assignable = FALSE;
 
-               cap = CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK;
+               cap = E_CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK;
                if (e_client_check_capability (E_CLIENT (comp_data->client), cap))
                        assignable = FALSE;
 
diff --git a/src/modules/itip-formatter/itip-view.c b/src/modules/itip-formatter/itip-view.c
index c215a91cc2..0fa4c12fe9 100644
--- a/src/modules/itip-formatter/itip-view.c
+++ b/src/modules/itip-formatter/itip-view.c
@@ -3735,7 +3735,7 @@ itip_view_cal_opened_cb (GObject *source_object,
 
                needs_decline = e_client_check_capability (
                        client,
-                       CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING);
+                       E_CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING);
                itip_view_set_needs_decline (view, needs_decline);
                itip_view_set_mode (view, ITIP_VIEW_MODE_PUBLISH);
        }
@@ -4002,7 +4002,7 @@ find_cal_update_ui (FormatItipFindData *fd,
 
                if (view->priv->type == E_CAL_CLIENT_SOURCE_TYPE_MEMOS) {
                        /* TODO The static capability should be made generic to convey that the calendar 
contains unaccepted items */
-                       if (e_client_check_capability (E_CLIENT (view->priv->current_client), 
CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING))
+                       if (e_client_check_capability (E_CLIENT (view->priv->current_client), 
E_CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING))
                                itip_view_set_needs_decline (view, TRUE);
                        else
                                itip_view_set_needs_decline (view, FALSE);
@@ -6030,7 +6030,7 @@ view_response_cb (ItipView *view,
        }
 
        if (!view->priv->to_address && view->priv->current_client != NULL) {
-               e_client_get_backend_property_sync (E_CLIENT (view->priv->current_client), 
CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS, &view->priv->to_address, NULL, NULL);
+               e_client_get_backend_property_sync (E_CLIENT (view->priv->current_client), 
E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS, &view->priv->to_address, NULL, NULL);
 
                if (view->priv->to_address && !*view->priv->to_address) {
                        g_free (view->priv->to_address);
diff --git a/src/plugins/mail-to-task/mail-to-task.c b/src/plugins/mail-to-task/mail-to-task.c
index bd954611bd..c6285176f8 100644
--- a/src/plugins/mail-to-task/mail-to-task.c
+++ b/src/plugins/mail-to-task/mail-to-task.c
@@ -895,9 +895,9 @@ do_mail_to_event (AsyncData *data)
                }
 
                /* precache backend properties, thus editor have them ready when needed */
-               cache_backend_prop (CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS);
-               cache_backend_prop (CAL_BACKEND_PROPERTY_ALARM_EMAIL_ADDRESS);
-               cache_backend_prop (CAL_BACKEND_PROPERTY_DEFAULT_OBJECT);
+               cache_backend_prop (E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS);
+               cache_backend_prop (E_CAL_BACKEND_PROPERTY_ALARM_EMAIL_ADDRESS);
+               cache_backend_prop (E_CAL_BACKEND_PROPERTY_DEFAULT_OBJECT);
                e_client_get_capabilities (E_CLIENT (client));
 
                #undef cache_backend_prop
diff --git a/src/plugins/publish-calendar/publish-format-fb.c 
b/src/plugins/publish-calendar/publish-format-fb.c
index b67d705bd9..7d6c264b6b 100644
--- a/src/plugins/publish-calendar/publish-format-fb.c
+++ b/src/plugins/publish-calendar/publish-format-fb.c
@@ -86,7 +86,7 @@ write_calendar (const gchar *uid,
        if (client == NULL)
                return FALSE;
 
-       if (e_client_get_backend_property_sync (client, CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS, &email, NULL, 
NULL)) {
+       if (e_client_get_backend_property_sync (client, E_CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS, &email, 
NULL, NULL)) {
                if (email && *email)
                        users = g_slist_append (users, email);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]