summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoanmarie Diggs <joanmarie.diggs@gmail.com>2010-09-19 15:59:38 -0400
committerJoanmarie <--global>2010-09-21 06:21:48 -0400
commitb122c67c180d1ecdadcf799e364f9856e3ab8913 (patch)
tree87b169cede835e604561df4074c44e9a3088fe5b
parent6a26a22156b961be7a329dcab5ff69c34a4689a0 (diff)
downloadatk-b122c67c180d1ecdadcf799e364f9856e3ab8913.tar.gz
Fix for bug #630097 - atktext does not include PANGO_UNDERLINE_ERROR
-rwxr-xr-xatk/atktext.c5
-rwxr-xr-xatk/atktext.h2
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