[gtk+] Correct the documentation of gtk_render_arrow() x,y arguments



commit 21275a16366bc4273fb9a4cc71c9488a44ac1e26
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Sep 4 23:09:57 2011 -0400

    Correct the documentation of gtk_render_arrow() x,y arguments
    
    As pointed out in bug 655631, these are the origin, not
    the center of the area.

 gtk/gtkstylecontext.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index d2a238c..f5f9009 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -3647,8 +3647,8 @@ gtk_render_option (GtkStyleContext *context,
  * @context: a #GtkStyleContext
  * @cr: a #cairo_t
  * @angle: arrow angle from 0 to 2 * %G_PI, being 0 the arrow pointing to the north
- * @x: Center X for the render area
- * @y: Center Y for the render area
+ * @x: X origin of the render area
+ * @y: Y origin of the render area
  * @size: square side for render area
  *
  * Renders an arrow pointing to @angle.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]