]> Pileus Git - ~andy/gtk/commit
a11y: fix a typo leading to a crash
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 6 Jun 2012 13:22:29 +0000 (09:22 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 7 Jun 2012 20:51:02 +0000 (16:51 -0400)
commit347357738669c90236f7385b07925da20660a17a
treea6e684da1f9a955fbfd9e3103c18ecb4c8003046
parent61001bc501286b2ea1677d7a11bdb1a409ddc642
a11y: fix a typo leading to a crash

text can't be NULL here, or we would have failed way earlier.
The original code from gail returned if the renderer text was NULL, and
we have to do that, or we'll end up calling e.g.
g_utf8_offset_to_pointer() on a NULL pointer.

https://bugzilla.redhat.com/show_bug.cgi?id=827930

https://bugzilla.gnome.org/show_bug.cgi?id=677551
gtk/a11y/gtktextcellaccessible.c