/* Gets a sheet, part of the cascade. Note that the returned stylesheet is refcounted so if the caller wants to manage it's lifecycle, it must use cr_stylesheet_ref()/cr_stylesheet_unref() instead of the cr_stylesheet_destroy() method. Returns the style sheet, or NULL if it does not exist.  */
CRStyleSheet* cr_cascade_get_sheet(CRCascade *a_this, enum CRStyleOrigin a_origin)
/* Gets a sheet, part of the cascade. Note that the returned stylesheet is refcounted so if the caller wants to manage it's lifecycle, it must use cr_stylesheet_ref()/cr_stylesheet_unref() instead of the cr_stylesheet_destroy() method. Returns the style sheet, or NULL if it does not exist.  */
CRStyleSheet* cr_cascade_get_sheet(CRCascade *a_this, enum CRStyleOrigin a_origin)
{
        g_return_val_if_fail (a_this
                              && a_origin >= ORIGIN_UA
                              && a_origin < NB_ORIGINS, NULL);
        return PRIVATE (a_this)->sheets[a_origin];
}