gtk2/testsuite
Sébastien Wilmet 706c8e9c8d Simplify _gtk_text_buffer_get_line_log_attrs()
NULL was returned in case of an empty last line. Every users needed to
special-case this. Now it will return the expected result: char_len of 0
with one PangoLogAttr.

In compute_log_attrs(), 'paragraph' will be the empty string "" with
'char_len' == 0.
pango_get_log_attrs() works fine with an empty string, it will return
one correct PangoLogAttr (because there is one text position for the
empty string).

It fixes the unit tests for gtk_text_iter_is_cursor_position().

https://bugzilla.gnome.org/show_bug.cgi?id=156164
2014-08-21 18:43:34 +02:00
..
a11y Update expected output for the font picker a11y test 2014-08-16 13:02:47 -04:00
css css: Add a :checked pseudoclass 2014-08-16 16:34:14 +02:00
gdk Fix various warnings about unused things 2014-08-13 23:38:47 +00:00
gtk Simplify _gtk_text_buffer_get_line_log_attrs() 2014-08-21 18:43:34 +02:00
reftests css: Round shadow extents properly 2014-08-21 00:54:07 +02:00
Makefile.am build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00