summaryrefslogtreecommitdiff
path: root/glib/gregex.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gregex.c')
-rw-r--r--glib/gregex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gregex.c b/glib/gregex.c
index 1c141b22b..745eb99de 100644
--- a/glib/gregex.c
+++ b/glib/gregex.c
@@ -1286,8 +1286,8 @@ static pcre *regex_compile (const gchar *pattern,
* Compiles the regular expression to an internal form, and does
* the initial setup of the #GRegex structure.
*
- * Returns: a #GRegex structure. Call g_regex_unref() when you
- * are done with it
+ * Returns: (nullable): a #GRegex structure or %NULL if an error occured. Call
+ * g_regex_unref() when you are done with it
*
* Since: 2.14
*/