Skip to content

Commit 18eb46c

Browse files
raveit65sc0w
authored andcommitted
fix a few introspection and doc warnings
1 parent 239f0d3 commit 18eb46c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

pluma/pluma-app.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ is_in_viewport (PlumaWindow *window,
667667
}
668668

669669
/**
670-
* _pluma_app_get_window_in_viewport
670+
* _pluma_app_get_window_in_viewport:
671671
* @app: the #PlumaApp
672672
* @screen: the #GdkScreen
673673
* @workspace: the workspace number

pluma/pluma-document.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ pluma_document_get_short_name_for_display (PlumaDocument *doc)
11671167
/**
11681168
* pluma_document_set_short_name_for_display:
11691169
* @doc:
1170-
* @short_name: (allow-none):
1170+
* @name: (allow-none):
11711171
*/
11721172
void
11731173
pluma_document_set_short_name_for_display (PlumaDocument *doc,

pluma/pluma-message-type.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ pluma_message_type_is_supported (GType type)
227227
* @object_path: (allow-none): the object path
228228
* @method: (allow-none): the method
229229
* @num_optional: number of optional arguments
230-
* @var_args: key/gtype pair variable argument list
230+
* @va_args: key/gtype pair variable argument list
231231
*
232232
* Create a new #PlumaMessageType for @method at @object_path. Argument names
233233
* and values are supplied by the NULL terminated variable argument list.
@@ -320,10 +320,10 @@ pluma_message_type_set (PlumaMessageType *message_type,
320320
* pluma_message_type_set_valist:
321321
* @message_type: the #PlumaMessageType
322322
* @num_optional: number of optional arguments
323-
* @var_args: key/gtype pair variable argument list
323+
* @va_args: key/gtype pair variable argument list
324324
*
325325
* Sets argument names/types supplied by the NULL terminated variable
326-
* argument list @var_args. The last @num_optional provided arguments are
326+
* argument list @va_args. The last @num_optional provided arguments are
327327
* considered optional.
328328
*
329329
*/

pluma/pluma-utils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,8 +714,8 @@ pluma_utils_uri_get_dirname (const gchar *uri)
714714
}
715715

716716
/**
717-
* pluma_utils_location_get_dirname_for_display
718-
* @file: the location
717+
* pluma_utils_location_get_dirname_for_display:
718+
* @location: the location
719719
*
720720
* Returns a string suitable to be displayed in the UI indicating
721721
* the name of the directory where the file is located.

0 commit comments

Comments
 (0)