diff --git a/lib/wp/object.c b/lib/wp/object.c
index 9d76bd728f6790a039b1ef6d418c74ebc0951352..3bbb7d3a149011a7d2674b87e6ed344432246bc3 100644
--- a/lib/wp/object.c
+++ b/lib/wp/object.c
@@ -133,7 +133,7 @@ wp_object_list_interfaces (WpObject * self, guint * n_interfaces)
  * wp_object_attach_interface_impl: (method)
  * @self: the object
  * @impl: (transfer none): the interface implementation
- * @error: (out caller-allocates): a GError to return on failure
+ * @error: (out): a GError to return on failure
  *
  * Returns: TRUE one success, FALSE on error
  */