Changed "length" argument of atk_text_get_character_extents() to "height".
authorPadraig O'Briain <padraigo@src.gnome.org>
Wed, 15 Aug 2001 16:54:52 +0000 (16:54 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Wed, 15 Aug 2001 16:54:52 +0000 (16:54 +0000)
* atk/atktext.[c|h], docs/tmpl/atktext.sgml:
Changed "length" argument of atk_text_get_character_extents() to
"height".

ChangeLog
atk/atktext.c
atk/atktext.h
docs/tmpl/atktext.sgml

index d33f64e..b8254f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atktext.[c|h], docs/tmpl/atktext.sgml:
+       Changed "length" argument of atk_text_get_character_extents() to
+       "height".
+
 2001-08-15  Jens Finke <jens@gnome.org>
 
        * Makefile.am (EXTRA_DIST): Added atk.spec and atk.spec.in files.
index 99218be..bf40a46 100755 (executable)
@@ -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;
     }
 }
index 83a6aa9..bea880a 100755 (executable)
@@ -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,
index 0ef270f..a46bda9 100644 (file)
@@ -2,18 +2,20 @@
 AtkText
 
 <!-- ##### SECTION Short_Description ##### -->
-accessibility interface for text widgets
+
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-AtkText provides an accessibility interface for text widgets
+
 </para>
 
+
 <!-- ##### SECTION See_Also ##### -->
 <para>
 
 </para>
 
+
 <!-- ##### STRUCT AtkText ##### -->
 <para>
 
@@ -150,7 +152,7 @@ AtkText provides an accessibility interface for text widgets
 @offset: 
 @x: 
 @y: 
-@length
+@height
 @width: 
 @coords: