[glib] gmarkup: Fix parameter annotations for g_markup_parse_context_get_position



commit ed2ceae9f06209c671a2252616680cec15a7f5b0
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Sep 15 17:35:04 2019 +0200

    gmarkup: Fix parameter annotations for g_markup_parse_context_get_position

 glib/gmarkup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gmarkup.c b/glib/gmarkup.c
index 945f40695..daa856f46 100644
--- a/glib/gmarkup.c
+++ b/glib/gmarkup.c
@@ -1939,8 +1939,8 @@ g_markup_parse_context_get_element_stack (GMarkupParseContext *context)
 /**
  * g_markup_parse_context_get_position:
  * @context: a #GMarkupParseContext
- * @line_number: (nullable): return location for a line number, or %NULL
- * @char_number: (nullable): return location for a char-on-line number, or %NULL
+ * @line_number: (out) (optional): return location for a line number, or %NULL
+ * @char_number: (out) (optional): return location for a char-on-line number, or %NULL
  *
  * Retrieves the current line number and the number of the character on
  * that line. Intended for use in error messages; there are no strict


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]