summaryrefslogtreecommitdiff
path: root/tests/testrichtext.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix C89 compilation issue. (#467711, The Written Word)Behdad Esfahbod2007-11-211-1/+5
| | | | | | | | | | 2007-11-21 Behdad Esfahbod <behdad@gnome.org> * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue. (#467711, The Written Word) svn path=/trunk/; revision=19022
* intialize random number generator state upon program start, to enableTim Janik2006-09-141-0/+4
| | | | | | | Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com> * tests/testrichtext.c (main): intialize random number generator state upon program start, to enable truely random testing.
* don't write out </apply_tag> for tags that have already been closed by theMichael Natterer2006-08-281-0/+185
2006-08-28 Michael Natterer <mitch@imendio.com> * gtk/gtktextbufferserialize.c (serialize_text): don't write out </apply_tag> for tags that have already been closed by the logic which turns overlapping spans into XML-able trees. Fixes broken XML when there are overlapping tags in the buffer. Also free two leaked GLists and did some cleanup. * tests/Makefile.am * tests/testrichtext.c: new test which creates randomly tagged GtkTextBuffers and serializes/deserializes them.