summaryrefslogtreecommitdiff
path: root/cogl/cogl-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-error.h')
-rw-r--r--cogl/cogl-error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cogl/cogl-error.h b/cogl/cogl-error.h
index 1015ca12..f5867899 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