[libgsf] Introspection fixes
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] Introspection fixes
- Date: Mon, 23 Mar 2020 00:10:04 +0000 (UTC)
commit 634e7de85607cd9a6e1facecd3df0ea588c39894
Author: Morten Welinder <terra gnome org>
Date: Sun Mar 22 20:09:32 2020 -0400
Introspection fixes
gsf/gsf-fwd.h | 2 +-
gsf/gsf-input.c | 6 +++---
gsf/gsf-libxml.c | 7 ++++---
gsf/gsf-open-pkg-utils.c | 4 ++++
4 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/gsf/gsf-fwd.h b/gsf/gsf-fwd.h
index 949bb5b..e978aef 100644
--- a/gsf/gsf-fwd.h
+++ b/gsf/gsf-fwd.h
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
typedef struct _GsfInput GsfInput;
/**
- * GsfInfil:
+ * GsfInfile:
*
* Class representing an input file.
*/
diff --git a/gsf/gsf-input.c b/gsf/gsf-input.c
index 020981d..bda6dcc 100644
--- a/gsf/gsf-input.c
+++ b/gsf/gsf-input.c
@@ -258,11 +258,11 @@ gsf_input_container (GsfInput *input)
}
/**
- * gsf_input_dup: (virtual Dup):
+ * gsf_input_dup: (virtual Dup)
* @input: The input to duplicate
* @err: (allow-none): place to store a #GError if anything goes wrong
*
- * Duplicates input @src leaving the new one at the same offset.
+ * Duplicates @input leaving the new one at the same offset.
*
* Returns: (transfer full) (nullable): the duplicate
**/
@@ -381,7 +381,7 @@ gsf_input_read (GsfInput *input, size_t num_bytes, guint8 *optional_buffer)
}
/**
- * gsf_input_read0: (rename-to gsf_input_read):
+ * gsf_input_read0: (rename-to gsf_input_read)
* @input: the input stream
* @num_bytes: (in): number of bytes to read
* @bytes_read: (out): copy of @num_bytes
diff --git a/gsf/gsf-libxml.c b/gsf/gsf-libxml.c
index 75e899f..b1c7c29 100644
--- a/gsf/gsf-libxml.c
+++ b/gsf/gsf-libxml.c
@@ -355,10 +355,11 @@ gsf_xml_parser_context (GsfInput *input)
/**
* gsf_xml_output_buffer_new: (skip)
* @output: #GsfOutput
- * @handler (allow-none):
+ * @handler: (allow-none) (scope call):
*
* <note>This adds a reference to @output.</note>
* <note>This is <emphasis>not</emphasis> releated to #GsfXMLOut.</note>
+ * Hmm... @handler.
**/
static xmlOutputBufferPtr
gsf_xml_output_buffer_new (GsfOutput *output,
@@ -539,7 +540,7 @@ gsf_xml_probe (GsfInput *input, GsfXMLProbeFunc func)
* GsfXMLIn:
* @user_state: user data
* @content: the current node content
- * @doc: #GsfXMLInDoc
+ * @doc: Current document being parsed #GsfXMLInDoc
* @node: current node (not on the stack)
**/
@@ -1086,7 +1087,7 @@ gsf_xml_in_node_internal_free (GsfXMLInNodeInternal *node)
/**
* gsf_xml_in_doc_free:
- * @doc: #GsfXMLInDoc
+ * @doc: A #GsfXMLInDoc
*
* Free up resources
**/
diff --git a/gsf/gsf-open-pkg-utils.c b/gsf/gsf-open-pkg-utils.c
index c98ff5e..c04e7a7 100644
--- a/gsf/gsf-open-pkg-utils.c
+++ b/gsf/gsf-open-pkg-utils.c
@@ -463,12 +463,16 @@ gsf_open_pkg_parse_rel_by_id (GsfXMLIn *xin, char const *id,
/* DEPRECATED in 1.14.6 */
/**
* gsf_open_pkg_get_rel_by_type: (skip)
+ * @opkg:
+ * @type:
*
* Deprecated: 1.14.6
*/
GsfInput *gsf_open_pkg_get_rel_by_type (GsfInput *opkg, char const *type) { return
gsf_open_pkg_open_rel_by_type (opkg, type, NULL); }
/**
* gsf_open_pkg_get_rel_by_id: (skip)
+ * @opkg:
+ * @id:
*
* Deprecated: 1.14.6
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]