Lines Matching refs:a_this
57 *@param a_this the current instance of #CRStyleSheet
61 cr_stylesheet_to_string (CRStyleSheet *a_this)
67 g_return_val_if_fail (a_this, NULL);
69 if (a_this->statements) {
73 for (cur_stmt = a_this->statements;
95 *@param a_this the current instance of #CRStyleSheet.
99 cr_stylesheet_dump (CRStyleSheet * a_this, FILE * a_fp)
103 g_return_if_fail (a_this);
105 str = cr_stylesheet_to_string (a_this) ;
115 *@param a_this the current instance of #CRStyleSheet.
119 cr_stylesheet_nr_rules (CRStyleSheet * a_this)
121 g_return_val_if_fail (a_this, -1);
123 return cr_statement_nr_rules (a_this->statements);
128 *@param a_this the current instance of #CRStatement.
134 cr_stylesheet_statement_get_from_list (CRStyleSheet * a_this, int itemnr)
136 g_return_val_if_fail (a_this, NULL);
138 return cr_statement_get_from_list (a_this->statements, itemnr);
142 cr_stylesheet_ref (CRStyleSheet * a_this)
144 g_return_if_fail (a_this);
146 a_this->ref_count++;
150 cr_stylesheet_unref (CRStyleSheet * a_this)
152 g_return_val_if_fail (a_this, FALSE);
154 if (a_this->ref_count)
155 a_this->ref_count--;
157 if (!a_this->ref_count) {
158 cr_stylesheet_destroy (a_this);
167 *@param a_this the current instance of the #CRStyleSheet class.
170 cr_stylesheet_destroy (CRStyleSheet * a_this)
172 g_return_if_fail (a_this);
174 if (a_this->statements) {
175 cr_statement_destroy (a_this->statements);
176 a_this->statements = NULL;
178 g_free (a_this);