From 192781d4b5250b678c3ea6f28af878e9817f46c9 Mon Sep 17 00:00:00 2001 From: Sebastian Geiger Date: Sun, 24 Jan 2016 18:53:59 +0100 Subject: [PATCH] gregex: improve documentation for g_regex_new --- glib/gregex.c | 4 ++-- 1 file 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 */