aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_quartz_cg_partition_restore.c
blob: 6c85b41ada0d51285c5cf7e6183f307f62334f78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* See LICENSE file for copyright and license details. */
#define IN_LIBGAMMA_QUARTZ_CG
#include "common.h"


/**
 * Restore the gamma ramps all CRTC:s with a partition to the system settings
 * 
 * @param   this  The partition state
 * @return        Zero on success, otherwise (negative) the value of an
 *                error identifier provided by this library
 */
int
libgamma_quartz_cg_partition_restore(libgamma_partition_state_t *restrict this)
{
	return libgamma_quartz_cg_site_restore(this->site);
}