diff --git a/cogl/cogl-error.h b/cogl/cogl-error.h index 1015ca121..f58678992 100644 --- a/cogl/cogl-error.h +++ b/cogl/cogl-error.h @@ -146,8 +146,10 @@ cogl_error_copy (CoglError *error); /** * cogl_error_matches: * @error: A #CoglError thrown by the Cogl api or %NULL + * @domain: The error domain + * @code: The error code * - * Returns %TRUE if error matches domain and code, %FALSE otherwise. + * Returns %TRUE if error matches @domain and @code, %FALSE otherwise. * In particular, when error is %NULL, FALSE will be returned. * * Return value: whether the @error corresponds to the given @domain