diff options
author | Yevgen Muntyan <muntyan@tamu.edu> | 2007-11-15 16:24:42 +0000 |
---|---|---|
committer | Yevgen Muntyan <muntyan@src.gnome.org> | 2007-11-15 16:24:42 +0000 |
commit | a3eb6a98d7a497b1f8bb5a73d497ce673d942837 (patch) | |
tree | c1c0bb8ccc35d8426651cf403334767ed1f3d18d /gtk/gtktextiter.c | |
parent | aa8329533f3eb7ceaa7b03ee0535acf4cff9663e (diff) | |
download | gtk+-a3eb6a98d7a497b1f8bb5a73d497ce673d942837.tar.gz |
do not call _gtk_text_btree_get_iter_at_line() and
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextlayout.c: (gtk_text_layout_get_line_display),
(get_style): do not call _gtk_text_btree_get_iter_at_line() and
_gtk_text_btree_get_tags() for every segment, instead call them
once and then collect the tags while iterating over the segments.
(get_tags_array_at_iter), (tags_array_toggle_tag): new functions
for tags array handling.
svn path=/trunk/; revision=18994
Diffstat (limited to 'gtk/gtktextiter.c')
0 files changed, 0 insertions, 0 deletions