Logo Search packages:      
Sourcecode: inkscape version File versions

int cr_statement_at_media_nr_rules ( CRStatement *  a_this  ) 

Return the number of rules in the media rule;

Parameters:
a_this the current instance of CRStatement.
Returns:
number of rules in the media rule.

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

References AT_MEDIA_RULE_STMT, and cr_statement_nr_rules().

{
        g_return_val_if_fail (a_this
                              && a_this->type == AT_MEDIA_RULE_STMT
                              && a_this->kind.media_rule, CR_BAD_PARAM_ERROR);

        return cr_statement_nr_rules (a_this->kind.media_rule->rulesets);
}


Generated by  Doxygen 1.6.0   Back to index