Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_statement_set_parent_sheet ( CRStatement *  a_this,
CRStyleSheet a_sheet 

Sets the container stylesheet.

a_this the current instance of CRStatement.
a_sheet the sheet that contains the current statement.
CR_OK upon successfull completion, an errror code otherwise.

Definition at line 1718 of file cr-statement.c.

Referenced by cr_statement_new_at_charset_rule(), cr_statement_new_at_font_face_rule(), cr_statement_new_at_import_rule(), cr_statement_new_at_media_rule(), cr_statement_new_at_page_rule(), and cr_statement_new_ruleset().

        g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
        a_this->parent_sheet = a_sheet;
        return CR_OK;

Generated by  Doxygen 1.6.0   Back to index