From 749796a12f064818b18418503a7c0e7eee04bb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 23 May 2025 16:11:46 +0200 Subject: [PATCH] clapper: doc: Update enhancer proxy docs --- src/lib/clapper/clapper-enhancer-proxy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/clapper/clapper-enhancer-proxy.c b/src/lib/clapper/clapper-enhancer-proxy.c index 4c1ee7a7..04e9adc2 100644 --- a/src/lib/clapper/clapper-enhancer-proxy.c +++ b/src/lib/clapper/clapper-enhancer-proxy.c @@ -706,7 +706,7 @@ clapper_enhancer_proxy_get_version (ClapperEnhancerProxy *self) * * Get extra data from enhancer plugin info file specified by @key. * - * External data in the plugin info file is prefixed with `X-`. + * Extra data in the plugin info file is prefixed with `X-`. * For example `X-Schemes=https`. * * Returns: (nullable): extra data value of the proxied enhancer. @@ -740,6 +740,10 @@ clapper_enhancer_proxy_get_extra_data (ClapperEnhancerProxy *self, const gchar * * calling this function with "X-Schemes" as key and "http" as value will * return %TRUE. * + * It is also safe to call this function when there is no such @key + * in plugin info file. Use [method@Clapper.EnhancerProxy.get_extra_data] + * if you need to know whether key exists. + * * Returns: whether list named with @key existed and contained @value. * * Since: 0.10