Fix previous commit

It is actually caller-allocates, not callee (the object is provided
by the binding, not by the function)
This commit is contained in:
Giovanni Campagna 2011-03-19 20:56:18 +01:00
parent 585da56118
commit 9fad2246ae

View File

@ -183,7 +183,7 @@ meta_rectangle_area (const MetaRectangle *rect)
* meta_rectangle_intersect: * meta_rectangle_intersect:
* @src1: a #MetaRectangle * @src1: a #MetaRectangle
* @src2: another #MetaRectangle * @src2: another #MetaRectangle
* @dest: (out callee-allocates): an empty #MetaRectangle, to be filled * @dest: (out caller-allocates): an empty #MetaRectangle, to be filled
* with the coordinates of the intersection. * with the coordinates of the intersection.
* *
* Returns: TRUE is some intersection exists and is not degenerate, FALSE * Returns: TRUE is some intersection exists and is not degenerate, FALSE
@ -240,7 +240,7 @@ meta_rectangle_equal (const MetaRectangle *src1,
* meta_rectangle_union: * meta_rectangle_union:
* @rect1: a #MetaRectangle * @rect1: a #MetaRectangle
* @rect2: another #MetaRectangle * @rect2: another #MetaRectangle
* @dest: (out callee-allocates): an empty #MetaRectangle, to be filled * @dest: (out caller-allocates): an empty #MetaRectangle, to be filled
* with the coordinates of the bounding box. * with the coordinates of the bounding box.
*/ */
void void