/* Returns CR_OK upon successfull completion, an error code otherwise.  */
enum CRStatus cr_statement_at_font_face_rule_add_decl(CRStatement *a_this, CRString *a_prop, CRTerm *a_value)
/* Returns CR_OK upon successfull completion, an error code otherwise.  */
enum CRStatus cr_statement_at_font_face_rule_add_decl(CRStatement *a_this, CRString *a_prop, CRTerm *a_value)
{
        CRDeclaration *decls = NULL;
        g_return_val_if_fail (a_this
                              && a_this->type == AT_FONT_FACE_RULE_STMT
                              && a_this->kind.font_face_rule,
                              CR_BAD_PARAM_ERROR);
        decls = cr_declaration_append2
                (a_this->kind.font_face_rule->decl_list, 
                 a_prop, a_value);
        g_return_val_if_fail (decls, CR_ERROR);
        if (a_this->kind.font_face_rule->decl_list == NULL)
                cr_declaration_ref (decls);
        a_this->kind.font_face_rule->decl_list = decls;
        return CR_OK;
}