summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Haneman <billh@src.gnome.org>2006-09-26 16:52:56 +0000
committerBill Haneman <billh@src.gnome.org>2006-09-26 16:52:56 +0000
commitca800d77e1b258db27c39a82f6e88f5f01d3f02f (patch)
tree45bf12d4589beea59df21a7de843dbd448f33e1d
parentd373cfac926db0903aa0bfd7f789f13ccc4e2449 (diff)
downloadatk_1_12_3.tar.gz
Allow text wrap type of GTK_WRAP_WORD_CHAR, as a text attribute.atk_1_12_3
Bug #357847.
-rw-r--r--ChangeLog6
-rwxr-xr-xatk/atktext.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fae8da9..e43df8b 100644
--- 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:
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);