From: Benjamin Otte Date: Thu, 6 Aug 2009 16:17:32 +0000 (+0200) Subject: Improve documentation for g_error_matches() X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=981d14e85ccf8d1dc721bd44e030728eff9b2501;p=dana%2Fcg-glib.git Improve documentation for g_error_matches() --- diff --git a/glib/gerror.c b/glib/gerror.c index ea454d5c..4327f9ac 100644 --- a/glib/gerror.c +++ b/glib/gerror.c @@ -166,12 +166,13 @@ g_error_copy (const GError *error) /** * g_error_matches: - * @error: a #GError + * @error: a #GError or %NULL * @domain: an error domain * @code: an error code * * Returns %TRUE if @error matches @domain and @code, %FALSE - * otherwise. + * otherwise. In particular, when @error is %NULL, %FALSE will + * be returned. * * Return value: whether @error has @domain and @code */