[librest/wip/hadess/compilation-fixes: 2/2] docs: Fix gtk-doc warning




commit 0df67e757f435b00541d60ae9c5e6ad0fa349f6a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 2 11:39:31 2022 +0100

    docs: Fix gtk-doc warning
    
    ../rest/rest-params.c:224: Warning: Rest: rest_params_as_string_hash_table: unknown parameter 'self' in 
documentation comment, should be 'params'

 rest/rest-params.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rest/rest-params.h b/rest/rest-params.h
index 9f53f77..74a3b37 100644
--- a/rest/rest-params.h
+++ b/rest/rest-params.h
@@ -59,7 +59,7 @@ RestParam  *rest_params_get                  (RestParams      *params,
 void        rest_params_remove               (RestParams      *params,
                                               const char      *name);
 gboolean    rest_params_are_strings          (RestParams      *params);
-GHashTable *rest_params_as_string_hash_table (RestParams      *params);
+GHashTable *rest_params_as_string_hash_table (RestParams      *self);
 void        rest_params_iter_init            (RestParamsIter  *iter,
                                               RestParams      *params);
 gboolean    rest_params_iter_next            (RestParamsIter  *iter,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]