Note in docs that @dest can be the same as @src1 or @src2. (#343233,

2006-05-28  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
        Note in docs that @dest can be the same as @src1 or @src2. (#343233,
        Christian Persch)
This commit is contained in:
Behdad Esfahbod
2006-05-28 20:24:43 +00:00
committed by Behdad Esfahbod
parent d9c808b163
commit 9ed04de455
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-05-28 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
Note in docs that @dest can be the same as @src1 or @src2. (#343233,
Christian Persch)
2006-05-28 Kristian Rietveld <kris@gtk.org> 2006-05-28 Kristian Rietveld <kris@gtk.org>
* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle * gtk/gtkstyle.c (gtk_default_draw_flat_box): handle

View File

@ -1,3 +1,9 @@
2006-05-28 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
Note in docs that @dest can be the same as @src1 or @src2. (#343233,
Christian Persch)
2006-05-28 Kristian Rietveld <kris@gtk.org> 2006-05-28 Kristian Rietveld <kris@gtk.org>
* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle * gtk/gtkstyle.c (gtk_default_draw_flat_box): handle

View File

@ -37,6 +37,7 @@
* Calculates the union of two rectangles. * Calculates the union of two rectangles.
* The union of rectangles @src1 and @src2 is the smallest rectangle which * The union of rectangles @src1 and @src2 is the smallest rectangle which
* includes both @src1 and @src2 within it. * includes both @src1 and @src2 within it.
* It is allowed for @dest to be the same as either @src1 or @src2.
*/ */
void void
gdk_rectangle_union (GdkRectangle *src1, gdk_rectangle_union (GdkRectangle *src1,
@ -64,6 +65,7 @@ gdk_rectangle_union (GdkRectangle *src1,
* @dest: return location for the intersection of @src1 and @src2 * @dest: return location for the intersection of @src1 and @src2
* *
* Calculates the intersection of two rectangles. * Calculates the intersection of two rectangles.
* It is allowed for @dest to be the same as either @src1 or @src2.
* *
* Returns: %TRUE if the rectangles intersect. * Returns: %TRUE if the rectangles intersect.
*/ */