From c6baeaa6c016e2d4b7156019127454ef46e6e94a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 23 Mar 2025 15:43:04 +0100 Subject: Exclude unavailable adjustment methods when listing and trying MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-coopgamma.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gamma-coopgamma.c') 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 @@ -122,6 +122,13 @@ print_error(struct gamma_state *state) } +static int +coopgamma_is_available(void) +{ + return 1; +} + + static int coopgamma_create(struct gamma_state **state_out) { -- cgit v1.2.3-70-g09d2