From 18eb46ced43fc2b584604151bd87b0efdc4174db Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 14 Sep 2018 18:09:14 +0200 Subject: fix a few introspection and doc warnings --- pluma/pluma-app.c | 2 +- pluma/pluma-document.c | 2 +- pluma/pluma-message-type.c | 6 +++--- pluma/pluma-utils.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pluma/pluma-app.c b/pluma/pluma-app.c index 16d49275..f661974f 100644 --- a/pluma/pluma-app.c +++ b/pluma/pluma-app.c @@ -667,7 +667,7 @@ is_in_viewport (PlumaWindow *window, } /** - * _pluma_app_get_window_in_viewport + * _pluma_app_get_window_in_viewport: * @app: the #PlumaApp * @screen: the #GdkScreen * @workspace: the workspace number diff --git a/pluma/pluma-document.c b/pluma/pluma-document.c index 7b37fcfc..b9519b25 100644 --- a/pluma/pluma-document.c +++ b/pluma/pluma-document.c @@ -1167,7 +1167,7 @@ pluma_document_get_short_name_for_display (PlumaDocument *doc) /** * pluma_document_set_short_name_for_display: * @doc: - * @short_name: (allow-none): + * @name: (allow-none): */ void pluma_document_set_short_name_for_display (PlumaDocument *doc, diff --git a/pluma/pluma-message-type.c b/pluma/pluma-message-type.c index 7ca880f0..786d4f77 100644 --- a/pluma/pluma-message-type.c +++ b/pluma/pluma-message-type.c @@ -227,7 +227,7 @@ pluma_message_type_is_supported (GType type) * @object_path: (allow-none): the object path * @method: (allow-none): the method * @num_optional: number of optional arguments - * @var_args: key/gtype pair variable argument list + * @va_args: key/gtype pair variable argument list * * Create a new #PlumaMessageType for @method at @object_path. Argument names * and values are supplied by the NULL terminated variable argument list. @@ -320,10 +320,10 @@ pluma_message_type_set (PlumaMessageType *message_type, * pluma_message_type_set_valist: * @message_type: the #PlumaMessageType * @num_optional: number of optional arguments - * @var_args: key/gtype pair variable argument list + * @va_args: key/gtype pair variable argument list * * Sets argument names/types supplied by the NULL terminated variable - * argument list @var_args. The last @num_optional provided arguments are + * argument list @va_args. The last @num_optional provided arguments are * considered optional. * */ diff --git a/pluma/pluma-utils.c b/pluma/pluma-utils.c index b704d3a4..c6e0a2e7 100644 --- a/pluma/pluma-utils.c +++ b/pluma/pluma-utils.c @@ -714,8 +714,8 @@ pluma_utils_uri_get_dirname (const gchar *uri) } /** - * pluma_utils_location_get_dirname_for_display - * @file: the location + * pluma_utils_location_get_dirname_for_display: + * @location: the location * * Returns a string suitable to be displayed in the UI indicating * the name of the directory where the file is located. -- cgit v1.2.1