Commit Graph

3 Commits

Author SHA1 Message Date
Behdad Esfahbod
fb51fed475 Fix C89 compilation issue. (#467711, The Written Word)
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
2007-11-21 09:32:35 +00:00
Tim Janik
259980785a intialize random number generator state upon program start, to enable
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.
2006-09-14 10:31:40 +00:00
Michael Natterer
0fa6144940 don't write out </apply_tag> for tags that have already been closed by the
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.
2006-08-28 16:14:42 +00:00