async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
g_free (utf8_string);
g_free (string);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
g_strfreev (strv);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
g_strfreev (strv);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
g_strfreev (strv);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
g_strfreev (strv);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
g_free (tzobject);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
async_context->interface,
async_context->invocation);
} else {
+ data_cal_convert_to_client_error (error);
g_dbus_method_invocation_take_error (
async_context->invocation, error);
}
cal->priv->opened = (error == NULL);
- if (error != NULL) {
- data_cal_convert_to_client_error (error);
+ if (error != NULL)
g_simple_async_result_take_error (simple, error);
- }
g_simple_async_result_complete_in_idle (simple);
/* Translators: This is prefix to a detailed error message */
g_prefix_error (&error, "%s", _("Cannot refresh calendar: "));
- if (error != NULL) {
- data_cal_convert_to_client_error (error);
+ if (error != NULL)
g_simple_async_result_take_error (simple, error);
- }
g_simple_async_result_complete (simple);
E_CAL_CLIENT_ERROR_INVALID_OBJECT));
}
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
}
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
/* Translators: This is prefix to a detailed error message */
g_prefix_error (&error, "%s", _("Cannot retrieve calendar free/busy list: "));
- if (error != NULL) {
- data_cal_convert_to_client_error (error);
+ if (error != NULL)
g_simple_async_result_take_error (simple, error);
- }
g_simple_async_result_complete_in_idle (simple);
g_queue_push_tail (queue, inner_queue);
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
g_queue_push_tail (queue, inner_queue);
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
}
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
/* Translators: This is prefix to a detailed error message */
g_prefix_error (&error, "%s", _("Cannot receive calendar objects: "));
- if (error != NULL) {
- data_cal_convert_to_client_error (error);
+ if (error != NULL)
g_simple_async_result_take_error (simple, error);
- }
g_simple_async_result_complete_in_idle (simple);
g_queue_push_tail (queue, g_strdup (link->data));
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
for (link = list; link != NULL; link = g_slist_next (link))
g_queue_push_tail (queue, g_strdup (link->data));
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
/* Translators: This is prefix to a detailed error message */
g_prefix_error (&error, "%s", _("Could not discard reminder: "));
- if (error != NULL) {
- data_cal_convert_to_client_error (error);
+ if (error != NULL)
g_simple_async_result_take_error (simple, error);
- }
g_simple_async_result_complete_in_idle (simple);
if (error == NULL) {
g_queue_push_tail (queue, g_strdup (tzobject));
} else {
- data_cal_convert_to_client_error (error);
g_simple_async_result_take_error (simple, error);
}
/* Translators: This is prefix to a detailed error message */
g_prefix_error (&error, "%s", _("Could not add calendar time zone: "));
- if (error != NULL) {
- data_cal_convert_to_client_error (error);
+ if (error != NULL)
g_simple_async_result_take_error (simple, error);
- }
g_simple_async_result_complete_in_idle (simple);