From e2ede7d04fbf0b034873236f4558102dff1abcf9 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 20 Mar 2023 15:41:25 -0700 Subject: libpeas: fix some GI warnings --- libpeas/peas-extension-set.c | 4 ++-- libpeas/peas-extension-set.h | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libpeas/peas-extension-set.c b/libpeas/peas-extension-set.c index dafb73d..d98105b 100644 --- a/libpeas/peas-extension-set.c +++ b/libpeas/peas-extension-set.c @@ -346,7 +346,7 @@ peas_extension_set_class_init (PeasExtensionSetClass *klass) * PeasExtensionSet::extension-added: * @set: A #PeasExtensionSet. * @info: A #PeasPluginInfo. - * @exten: A #PeasExtension. + * @extension: A #PeasExtension. * * Emitted when a new extension has been added to the #PeasExtensionSet. * @@ -377,7 +377,7 @@ peas_extension_set_class_init (PeasExtensionSetClass *klass) * PeasExtensionSet::extension-removed: * @set: A #PeasExtensionSet. * @info: A #PeasPluginInfo. - * @exten: A #PeasExtension. + * @extension: A #PeasExtension. * * Emitted when a new extension is about to be removed from the * #PeasExtensionSet. diff --git a/libpeas/peas-extension-set.h b/libpeas/peas-extension-set.h index 359300b..3ccee7d 100644 --- a/libpeas/peas-extension-set.h +++ b/libpeas/peas-extension-set.h @@ -43,13 +43,11 @@ G_DECLARE_FINAL_TYPE (PeasExtensionSet, peas_extension_set, PEAS, EXTENSION_SET, * PeasExtensionSetForeachFunc: * @set: A #PeasExtensionSet. * @info: A #PeasPluginInfo. - * @exten: A #PeasExtension. + * @extension: The extension instance. * @data: Optional data passed to the function. * * This function is passed to [method@ExtensionSet.foreach] and * will be called for each extension in @set. - * - * Since: 1.2 */ typedef void (*PeasExtensionSetForeachFunc) (PeasExtensionSet *set, PeasPluginInfo *info, -- cgit v1.2.1