From 60a494260e1d69ac6451697ae441936984375bc2 Mon Sep 17 00:00:00 2001 From: Padraig O'Briain Date: Wed, 15 Aug 2001 16:54:52 +0000 Subject: [PATCH] Changed "length" argument of atk_text_get_character_extents() to "height". * atk/atktext.[c|h], docs/tmpl/atktext.sgml: Changed "length" argument of atk_text_get_character_extents() to "height". --- ChangeLog | 6 ++++++ atk/atktext.c | 8 ++++---- atk/atktext.h | 4 ++-- docs/tmpl/atktext.sgml | 8 +++++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d33f64e..b8254f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-08-15 Padraig O'Briain + + * atk/atktext.[c|h], docs/tmpl/atktext.sgml: + Changed "length" argument of atk_text_get_character_extents() to + "height". + 2001-08-15 Jens Finke * Makefile.am (EXTRA_DIST): Added atk.spec and atk.spec.in files. diff --git a/atk/atktext.c b/atk/atktext.c index 99218be..bf40a46 100755 --- a/atk/atktext.c +++ b/atk/atktext.c @@ -290,7 +290,7 @@ atk_text_get_caret_offset (AtkText *text) * @offset: position * @x: x-position of character * @y: y-position of character - * @length: length of character + * @length: height of character * @width: width of character * @coords: specify whether coordinates are relative to the screen or widget window * @@ -302,7 +302,7 @@ atk_text_get_character_extents (AtkText *text, gint offset, gint *x, gint *y, - gint *length, + gint *height, gint *width, AtkCoordType coords) { @@ -313,12 +313,12 @@ atk_text_get_character_extents (AtkText *text, iface = ATK_TEXT_GET_IFACE (text); if (iface->get_character_extents) - (*(iface->get_character_extents)) (text, offset, x, y, length, width, coords); + (*(iface->get_character_extents)) (text, offset, x, y, height, width, coords); else { *x = 0; *x = 0; - *length = 0; + *height = 0; *width = 0; } } diff --git a/atk/atktext.h b/atk/atktext.h index 83a6aa9..bea880a 100755 --- a/atk/atktext.h +++ b/atk/atktext.h @@ -333,7 +333,7 @@ struct _AtkTextIface gint offset, gint *x, gint *y, - gint *length, + gint *height, gint *width, AtkCoordType coords); gint (* get_character_count) (AtkText *text); @@ -401,7 +401,7 @@ void atk_text_get_character_extents (AtkText *tex gint offset, gint *x, gint *y, - gint *length, + gint *height, gint *width, AtkCoordType coords); AtkAttributeSet* atk_text_ref_run_attributes (AtkText *text, diff --git a/docs/tmpl/atktext.sgml b/docs/tmpl/atktext.sgml index 0ef270f..a46bda9 100644 --- a/docs/tmpl/atktext.sgml +++ b/docs/tmpl/atktext.sgml @@ -2,18 +2,20 @@ AtkText -accessibility interface for text widgets + -AtkText provides an accessibility interface for text widgets + + + @@ -150,7 +152,7 @@ AtkText provides an accessibility interface for text widgets @offset: @x: @y: -@length: +@height: @width: @coords: -- 2.7.4