[evince/wip/gpoo/fix-annotation-warnings] libdocument: Fix annotations
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/fix-annotation-warnings] libdocument: Fix annotations
- Date: Thu, 3 Mar 2022 03:09:46 +0000 (UTC)
commit eb7b5c14e8be3d9a3e50121b6cd141383f2f44ad
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Thu Mar 3 00:07:52 2022 -0300
libdocument: Fix annotations
* Fix duplications, document parameters
libdocument/ev-annotation.c | 2 +-
libdocument/ev-document-factory.c | 5 +++++
libdocument/ev-document-info.c | 1 -
libdocument/ev-link-action.c | 9 ++++++++-
4 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c
index 739625083..1613fb2ab 100644
--- a/libdocument/ev-annotation.c
+++ b/libdocument/ev-annotation.c
@@ -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
*
diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c
index 8feb47e21..e338537c2 100644
--- a/libdocument/ev-document-factory.c
+++ b/libdocument/ev-document-factory.c
@@ -702,6 +702,11 @@ 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
+ *
+ * Returns: (transfer full) (element-type EvBackendInfo): a list of #EvBackendInfo objects
+ */
GList *
ev_backends_manager_get_all_types_info (void)
{
diff --git a/libdocument/ev-document-info.c b/libdocument/ev-document-info.c
index 84466c0a5..15e7c5835 100644
--- a/libdocument/ev-document-info.c
+++ b/libdocument/ev-document-info.c
@@ -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
*/
diff --git a/libdocument/ev-link-action.c b/libdocument/ev-link-action.c
index f1d44ffee..93cc7c790 100644
--- a/libdocument/ev-link-action.c
+++ b/libdocument/ev-link-action.c
@@ -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 EvLayer): a list of #EvLayer objects
+ * @exclude_fields: Whether to exclude fields or not
+ *
+ * Returns: (transfer full): a new #EvLinkAction
+ */
EvLinkAction *
ev_link_action_new_reset_form (GList *reset_fields,
gboolean exclude_reset_fields)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]