Allow text wrap type of GTK_WRAP_WORD_CHAR, as a text attribute. atk_1_12_3
authorBill Haneman <billh@src.gnome.org>
Tue, 26 Sep 2006 16:52:56 +0000 (16:52 +0000)
committerBill Haneman <billh@src.gnome.org>
Tue, 26 Sep 2006 16:52:56 +0000 (16:52 +0000)
Bug #357847.

ChangeLog
atk/atktext.c

index fae8da9..e43df8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index a2c30b7..bc7d7ac 100755 (executable)
@@ -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);