Improve documentation for g_error_matches()

This commit is contained in:
Benjamin Otte 2009-08-06 18:17:32 +02:00
parent a6ac4e90d5
commit 981d14e85c

View File

@ -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
*/