gcompletion: Make argument names match up

This fixes some warnings from g-ir-scanner.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-11-29 12:00:14 +00:00
parent d07c59ed4e
commit f14cd8de14
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
/**
* GCompletionFunc:
* @Param1: the completion item.
* @item: the completion item.
*
* Specifies the type of the function passed to g_completion_new(). It
* should return the string corresponding to the given target item.

View File

@ -37,7 +37,7 @@ G_BEGIN_DECLS
typedef struct _GCompletion GCompletion;
typedef gchar* (*GCompletionFunc) (gpointer);
typedef gchar* (*GCompletionFunc) (gpointer item);
/* GCompletion
*/