+2001-08-16 Padraig O'Briain <padraig.obriain@sun.com>
+ * atk/atktext.[c|h], docs/tmpl/atktext.sgml:
+ Swapped order of width and height arguments to
+ atk_text_get_character_extents()
+ Changed AtkAttrributeSet_free to atk_attribute_set_free
+
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* atk/atktext.[c|h], docs/tmpl/atktext.sgml:
* @offset: position
* @x: x-position of character
* @y: y-position of character
- * @length: height of character
* @width: width of character
+ * @height: height of character
* @coords: specify whether coordinates are relative to the screen or widget window
*
- * Given an @offset, the @x, @y, @length, and @width values are filled
+ * Given an @offset, the @x, @y, @width, and @height values are filled
* appropriately.
**/
void
gint offset,
gint *x,
gint *y,
- gint *height,
gint *width,
+ gint *height,
AtkCoordType coords)
{
AtkTextIface *iface;
iface = ATK_TEXT_GET_IFACE (text);
if (iface->get_character_extents)
- (*(iface->get_character_extents)) (text, offset, x, y, height, width, coords);
+ (*(iface->get_character_extents)) (text, offset, x, y, width, height, coords);
else
{
*x = 0;
*x = 0;
- *height = 0;
*width = 0;
+ *height = 0;
}
}
}
/**
- * AtkAttributeSet_free:
+ * atk_attribute_set_free:
* @attrib_set: The #AtkAttributeSet to free
*
* Frees the memory used by an #AtkAttributeSet, including all its
* #AtkAttributes.
**/
void
-AtkAttributeSet_free(AtkAttributeSet *attrib_set)
+atk_attribute_set_free(AtkAttributeSet *attrib_set)
{
gint index;
gint offset,
gint *x,
gint *y,
- gint *height,
gint *width,
+ gint *height,
AtkCoordType coords);
gint (* get_character_count) (AtkText *text);
gint (* get_offset_at_point) (AtkText *text,
gint offset,
gint *x,
gint *y,
- gint *height,
gint *width,
+ gint *height,
AtkCoordType coords);
AtkAttributeSet* atk_text_ref_run_attributes (AtkText *text,
gint offset,
gint end_offset);
gboolean atk_text_set_caret_offset (AtkText *text,
gint offset);
-void AtkAttributeSet_free (AtkAttributeSet *attrib_set);
+void atk_attribute_set_free (AtkAttributeSet *attrib_set);
#ifdef __cplusplus
}