summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@gnome.org>2011-04-25 18:13:13 +0100
committerAlberto Ruiz <aruiz@gnome.org>2011-04-25 18:13:13 +0100
commit50d7ad6f2073742c7b0423f578171b380b8196f5 (patch)
treee6136dc2c8abed9d87a6f7abb73909024a6722e6 /pango/pango-utils.c
parentd1c260d3d48ffa32aebe16e987fea187e635c370 (diff)
downloadpango-50d7ad6f2073742c7b0423f578171b380b8196f5.tar.gz
adding allow-none introspection metadata to pango_parse_enum
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 66332892..00c55c3d 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -773,10 +773,10 @@ parse_int (const char *word,
/**
* pango_parse_enum:
* @type: enum type to parse, eg. %PANGO_TYPE_ELLIPSIZE_MODE.
- * @str: string to parse. May be %NULL.
- * @value: integer to store the result in, or %NULL.
+ * @str: (allow-none): string to parse. May be %NULL.
+ * @value: (allow-none): integer to store the result in, or %NULL.
* @warn: if %TRUE, issue a g_warning() on bad input.
- * @possible_values: place to store list of possible values on failure, or %NULL.
+ * @possible_values: (allow-none): place to store list of possible values on failure, or %NULL.
*
* Parses an enum type and stores the result in @value.
*