diff options
author | Bill Haneman <billh@src.gnome.org> | 2006-09-26 16:52:56 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2006-09-26 16:52:56 +0000 |
commit | ca800d77e1b258db27c39a82f6e88f5f01d3f02f (patch) | |
tree | 45bf12d4589beea59df21a7de843dbd448f33e1d | |
parent | d373cfac926db0903aa0bfd7f789f13ccc4e2449 (diff) | |
download | atk-ca800d77e1b258db27c39a82f6e88f5f01d3f02f.tar.gz |
Allow text wrap type of GTK_WRAP_WORD_CHAR, as a text attribute.atk_1_12_3
Bug #357847.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | atk/atktext.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-09-26 Bill Haneman <bill.haneman@sun.com> + + * atk/atktext.c: + (atk_text_attribute_get_value): Allow + the wrap value to be 3 (bug #357847). + 2006-09-14 Bill Haneman <bill.haneman@sun.com> * atk/docs/atkdocument.sgml: diff --git a/atk/atktext.c b/atk/atktext.c index a2c30b7..bc7d7ac 100755 --- a/atk/atktext.c +++ b/atk/atktext.c @@ -1132,7 +1132,7 @@ atk_text_attribute_get_value (AtkTextAttribute attr, g_assert (index >= 0 && index < 5); return underline[index]; case ATK_TEXT_ATTR_WRAP_MODE: - g_assert (index >= 0 && index < 3); + g_assert (index >= 0 && index < 4); return wrap_mode[index]; case ATK_TEXT_ATTR_DIRECTION: g_assert (index >= 0 && index < 3); |