summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-09-14 18:09:14 +0200
committerZenWalker <[email protected]>2018-09-16 23:30:48 +0200
commit18eb46ced43fc2b584604151bd87b0efdc4174db (patch)
tree2b087ca2045955a1cb618f219b84fbb539308d20
parent239f0d3b2954cae8e4769fd12c7e694ac428490b (diff)
downloadpluma-18eb46ced43fc2b584604151bd87b0efdc4174db.tar.bz2
pluma-18eb46ced43fc2b584604151bd87b0efdc4174db.tar.xz
fix a few introspection and doc warnings
-rw-r--r--pluma/pluma-app.c2
-rw-r--r--pluma/pluma-document.c2
-rw-r--r--pluma/pluma-message-type.c6
-rw-r--r--pluma/pluma-utils.c4
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.