[nautilus/wip/jtojnar/gi-docgen] extension: Fix GIR warnings
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/jtojnar/gi-docgen] extension: Fix GIR warnings
- Date: Thu, 11 Aug 2022 14:19:49 +0000 (UTC)
commit 52990a27856846b33341eff3ec5d4159b12d65c0
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Aug 11 16:19:40 2022 +0200
extension: Fix GIR warnings
../libnautilus-extension/nautilus-properties-model-provider.h:61: Warning: Nautilus:
nautilus_properties_model_provider_get_models: Unknown type: 'NautilusPropertyModel'
../libnautilus-extension/nautilus-properties-item.h:37: Warning: Nautilus: nautilus_properties_item_new:
unknown parameter 'model' in documentation comment, should be 'value'
../libnautilus-extension/nautilus-properties-item.h:46: Warning: Nautilus:
nautilus_properties_item_get_name: unknown parameter 'item' in documentation comment, should be 'self'
../libnautilus-extension/nautilus-properties-item.h:54: Warning: Nautilus:
nautilus_properties_item_get_value: unknown parameter 'item' in documentation comment, should be 'self'
../libnautilus-extension/nautilus-properties-model-provider.h:45: Warning: Nautilus:
NautilusPropertyModel: Unknown type: 'NautilusPropertyModel'
libnautilus-extension/nautilus-properties-item.h | 6 +++---
libnautilus-extension/nautilus-properties-model-provider.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-extension/nautilus-properties-item.h
b/libnautilus-extension/nautilus-properties-item.h
index 5191816cd..c55fb91f0 100644
--- a/libnautilus-extension/nautilus-properties-item.h
+++ b/libnautilus-extension/nautilus-properties-item.h
@@ -34,7 +34,7 @@ G_DECLARE_FINAL_TYPE (NautilusPropertiesItem,
/**
* nautilus_properties_item_new:
* @name: the user-visible name for the properties item.
- * @model: the user-visible value for the properties item.
+ * @value: the user-visible value for the properties item.
*
* Returns: (transfer full): a new #NautilusPropertiesItem
*/
@@ -43,7 +43,7 @@ NautilusPropertiesItem *nautilus_properties_item_new (const char *name,
/**
* nautilus_properties_item_get_name:
- * @item: the properties item
+ * @self: the properties item
*
* Returns: (transfer none): the name of this #NautilusPropertiesItem
*/
@@ -51,7 +51,7 @@ const char *nautilus_properties_item_get_name (NautilusPropertiesItem *self);
/**
* nautilus_properties_item_get_value:
- * @item: the properties item
+ * @self: the properties item
*
* Returns: (transfer none): the value of this #NautilusPropertiesItem
*/
diff --git a/libnautilus-extension/nautilus-properties-model-provider.h
b/libnautilus-extension/nautilus-properties-model-provider.h
index 6caebd113..b4ecda50d 100644
--- a/libnautilus-extension/nautilus-properties-model-provider.h
+++ b/libnautilus-extension/nautilus-properties-model-provider.h
@@ -58,7 +58,7 @@ struct _NautilusPropertiesModelProviderInterface
* so it should return quickly. The models can be populated and updated
* asynchronously.
*
- * Returns: (nullable) (element-type NautilusPropertyModel) (transfer full): A #GList of allocated
#NautilusPropertiesModel models.
+ * Returns: (nullable) (element-type NautilusPropertiesModel) (transfer full): A #GList of allocated
#NautilusPropertiesModel models.
*/
GList *nautilus_properties_model_provider_get_models (NautilusPropertiesModelProvider *provider,
GList *files);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]