From b122c67c180d1ecdadcf799e364f9856e3ab8913 Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Sun, 19 Sep 2010 15:59:38 -0400 Subject: Fix for bug #630097 - atktext does not include PANGO_UNDERLINE_ERROR --- atk/atktext.c | 5 +++-- atk/atktext.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/atk/atktext.c b/atk/atktext.c index 59b53f0..12a6a16 100755 --- a/atk/atktext.c +++ b/atk/atktext.c @@ -99,9 +99,10 @@ static const char underline[] = "none\0" "single\0" "double\0" - "low"; + "low\0" + "error"; static const guint8 underline_offsets[] = { - 0, 5, 12, 19 + 0, 5, 12, 19, 23 }; static void atk_text_base_init (AtkTextIface *class); diff --git a/atk/atktext.h b/atk/atktext.h index 3ec19ce..1b7a038 100755 --- a/atk/atktext.h +++ b/atk/atktext.h @@ -43,7 +43,7 @@ G_BEGIN_DECLS *@ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP: Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). *@ATK_TEXT_ATTR_BG_FULL_HEIGHT: "true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character. *@ATK_TEXT_ATTR_RISE: Number of pixels that the characters are risen above the baseline - *@ATK_TEXT_ATTR_UNDERLINE: "none", "single", "double" or "low" + *@ATK_TEXT_ATTR_UNDERLINE: "none", "single", "double", "low", or "error" *@ATK_TEXT_ATTR_STRIKETHROUGH: "true" or "false" whether the text is strikethrough *@ATK_TEXT_ATTR_SIZE: The size of the characters. *@ATK_TEXT_ATTR_SCALE: The scale of the characters. The value is a string representation of a double -- cgit v1.2.1