Skip to content

Commit

Permalink
fix a few introspection and doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
raveit65 authored and sc0w committed Sep 16, 2018
1 parent 239f0d3 commit 18eb46c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pluma/pluma-app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pluma/pluma-document.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions pluma/pluma-message-type.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
*
*/
Expand Down
4 changes: 2 additions & 2 deletions pluma/pluma-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 18eb46c

Please sign in to comment.