mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-06-30 22:54:23 +00:00
libdocument: Fix annotations in functions
Add missing annotations, remove duplications, and fix arguments.
This commit is contained in:
parent
781ed5fd73
commit
5819ea5ec4
|
@ -727,7 +727,7 @@ ev_annotation_set_rgba (EvAnnotation *annot,
|
|||
}
|
||||
|
||||
/**
|
||||
* ev_annotation_set_area:
|
||||
* ev_annotation_get_area:
|
||||
* @annot: an #EvAnnotation
|
||||
* @area: (out): a #EvRectangle to be filled with the annotation area
|
||||
*
|
||||
|
|
|
@ -697,11 +697,23 @@ ev_backends_manager_get_document_module_name (EvDocument *document)
|
|||
return info->module_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* ev_backends_manager_get_document_type_info: (skip)
|
||||
* @document: a #EvDocument
|
||||
*
|
||||
* Returns: a EvTypeInfo
|
||||
*/
|
||||
EvTypeInfo *ev_backends_manager_get_document_type_info (EvDocument *document)
|
||||
{
|
||||
return (EvTypeInfo *) get_backend_info_for_document (document);
|
||||
}
|
||||
|
||||
/**
|
||||
* ev_backends_manager_get_all_types_info: (skip)
|
||||
*
|
||||
* Returns: @list: (element-type EvBackendInfo): a shallow copy of #GList
|
||||
* containing #EvBackendInfo objects
|
||||
*/
|
||||
GList *
|
||||
ev_backends_manager_get_all_types_info (void)
|
||||
{
|
||||
|
|
|
@ -39,7 +39,6 @@ G_DEFINE_BOXED_TYPE (EvDocumentInfo, ev_document_info, ev_document_info_copy, ev
|
|||
|
||||
/**
|
||||
* ev_document_info_new:
|
||||
* @info: a #EvDocumentInfo
|
||||
*
|
||||
* Returns: (transfer full): a new, empty #EvDocumentInfo
|
||||
*/
|
||||
|
|
|
@ -756,7 +756,7 @@ ev_document_synctex_backward_search (EvDocument *document,
|
|||
}
|
||||
|
||||
/**
|
||||
* ev_document_synctex_forward_search:
|
||||
* ev_document_synctex_forward_search: (skip)
|
||||
* @document: a #EvDocument
|
||||
* @source_link: a #EvSourceLink
|
||||
*
|
||||
|
|
|
@ -102,7 +102,7 @@ struct _EvDocumentClass
|
|||
EvPage * (* get_page) (EvDocument *document,
|
||||
gint index);
|
||||
void (* get_page_size) (EvDocument *document,
|
||||
EvPage *page,
|
||||
EvPage *page_index,
|
||||
double *width,
|
||||
double *height);
|
||||
gchar * (* get_page_label) (EvDocument *document,
|
||||
|
|
|
@ -163,7 +163,7 @@ ev_link_action_get_toggle_list (EvLinkAction *self)
|
|||
* ev_link_action_get_reset_fields:
|
||||
* @self: an #EvLinkAction
|
||||
*
|
||||
* Returns: (transfer none) (element-type gchar *): a list of fields to reset
|
||||
* Returns: (transfer none) (element-type gchar*): a list of fields to reset
|
||||
*/
|
||||
GList *
|
||||
ev_link_action_get_reset_fields (EvLinkAction *self)
|
||||
|
@ -542,6 +542,13 @@ ev_link_action_new_layers_state (GList *show_list,
|
|||
NULL));
|
||||
}
|
||||
|
||||
/**
|
||||
* ev_link_action_new_reset_form:
|
||||
* @fields: (element-type gchar*): a list of fields to reset
|
||||
* @exclude_fields: whether to exclude reset fields when resetting form
|
||||
*
|
||||
* Returns: (transfer full): a new #EvLinkAction
|
||||
*/
|
||||
EvLinkAction *
|
||||
ev_link_action_new_reset_form (GList *reset_fields,
|
||||
gboolean exclude_reset_fields)
|
||||
|
|
Loading…
Reference in New Issue
Block a user