diff options
author | Björn Lindqvist <bjourne@gmail.com> | 2007-08-10 23:34:26 +0000 |
---|---|---|
committer | Björn Lindqvist <bjornl@src.gnome.org> | 2007-08-10 23:34:26 +0000 |
commit | e1f112114949418799f6651394f20e9299f42199 (patch) | |
tree | 876c1e4ef4cded1c52b4a83710e00d3d2e92b19a /gdk/gdkrectangle.c | |
parent | 8c4287775bce3ce5eb6a3dfc0097db186d2b200b (diff) | |
download | gtk+-e1f112114949418799f6651394f20e9299f42199.tar.gz |
Note in docs that @dest's width and height is set to 0, 0 if the
2007-08-11 Björn Lindqvist <bjourne@gmail.com>
* gdk/gdkrectangle.c (gdk_rectangle_intersect): Note in docs
that @dest's width and height is set to 0, 0 if the rectangles
does not intersect. (#464524)
svn path=/trunk/; revision=18602
Diffstat (limited to 'gdk/gdkrectangle.c')
-rw-r--r-- | gdk/gdkrectangle.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdk/gdkrectangle.c b/gdk/gdkrectangle.c index 0e13b14bbd..71679f98f7 100644 --- a/gdk/gdkrectangle.c +++ b/gdk/gdkrectangle.c @@ -64,8 +64,10 @@ gdk_rectangle_union (GdkRectangle *src1, * @src2: a #GdkRectangle * @dest: return location for the intersection of @src1 and @src2 * - * Calculates the intersection of two rectangles. - * It is allowed for @dest to be the same as either @src1 or @src2. + * Calculates the intersection of two rectangles. It is allowed for + * @dest to be the same as either @src1 or @src2. If the rectangles + * doesn't intersect, @dest's width and height is set to 0 and its x + * and y values are undefined. * * Returns: %TRUE if the rectangles intersect. */ |