/* Returns CR_OK upon successful completion, an error code otherwise.  */
enum CRStatus cr_rgb_set_from_rgb(CRRgb *a_this, CRRgb *a_rgb)
/* Returns CR_OK upon successful completion, an error code otherwise.  */
enum CRStatus cr_rgb_set_from_rgb(CRRgb *a_this, CRRgb *a_rgb)
{
        g_return_val_if_fail (a_this && a_rgb, CR_BAD_PARAM_ERROR);
        cr_rgb_copy (a_this, a_rgb) ;
        return CR_OK;
}