Lines Matching refs:PRIVATE
32 #define PRIVATE(a_this) ((a_this)->priv)
76 PRIVATE (result) = g_try_malloc (sizeof (CRCascadePriv));
77 if (!PRIVATE (result)) {
82 memset (PRIVATE (result), 0, sizeof (CRCascadePriv));
119 return PRIVATE (a_this)->sheets[a_origin];
141 if (PRIVATE (a_this)->sheets[a_origin])
142 cr_stylesheet_unref (PRIVATE (a_this)->sheets[a_origin]);
143 PRIVATE (a_this)->sheets[a_origin] = a_sheet;
159 g_return_if_fail (a_this && PRIVATE (a_this));
161 PRIVATE (a_this)->ref_count++;
177 g_return_if_fail (a_this && PRIVATE (a_this));
179 if (PRIVATE (a_this)->ref_count)
180 PRIVATE (a_this)->ref_count--;
181 if (!PRIVATE (a_this)->ref_count) {
197 if (PRIVATE (a_this)) {
200 for (i = 0; PRIVATE (a_this)->sheets && i < NB_ORIGINS; i++) {
201 if (PRIVATE (a_this)->sheets[i]) {
203 (PRIVATE (a_this)->sheets[i])
205 PRIVATE (a_this)->sheets[i] = NULL;
209 g_free (PRIVATE (a_this));
210 PRIVATE (a_this) = NULL;