diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-23 15:43:04 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-23 15:43:04 +0100 |
commit | c6baeaa6c016e2d4b7156019127454ef46e6e94a (patch) | |
tree | af4681c94ee40413159e9fdd11562785a34752a1 /src/gamma-coopgamma.c | |
parent | m fix (diff) | |
download | redshift-ng-c6baeaa6c016e2d4b7156019127454ef46e6e94a.tar.gz redshift-ng-c6baeaa6c016e2d4b7156019127454ef46e6e94a.tar.bz2 redshift-ng-c6baeaa6c016e2d4b7156019127454ef46e6e94a.tar.xz |
Exclude unavailable adjustment methods when listing and trying
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/gamma-coopgamma.c')
-rw-r--r-- | src/gamma-coopgamma.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gamma-coopgamma.c b/src/gamma-coopgamma.c index 7a33746..9818a88 100644 --- a/src/gamma-coopgamma.c +++ b/src/gamma-coopgamma.c @@ -123,6 +123,13 @@ print_error(struct gamma_state *state) static int +coopgamma_is_available(void) +{ + return 1; +} + + +static int coopgamma_create(struct gamma_state **state_out) { struct gamma_state *state; |