summaryrefslogtreecommitdiff
path: root/gtk/gtktextiter.c
diff options
context:
space:
mode:
authorYevgen Muntyan <muntyan@tamu.edu>2007-11-15 17:00:33 +0000
committerYevgen Muntyan <muntyan@src.gnome.org>2007-11-15 17:00:33 +0000
commit921da326f5dd7fed5ef01b32b7269ea8fc4bf745 (patch)
treee6d1b76dc3bcb8295063372d738453b572e10253 /gtk/gtktextiter.c
parenta3eb6a98d7a497b1f8bb5a73d497ce673d942837 (diff)
downloadgtk+-921da326f5dd7fed5ef01b32b7269ea8fc4bf745.tar.gz
sort returned tags array by tags priority (#497102).
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu> * gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned tags array by tags priority (#497102). * gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes): * gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here. svn path=/trunk/; revision=18995
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r--gtk/gtktextiter.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 715f7e5964..5ab52dc130 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -1331,9 +1331,6 @@ gtk_text_iter_get_tags (const GtkTextIter *iter)
return NULL;
}
- /* Sort tags in ascending order of priority */
- _gtk_text_tag_array_sort (tags, tag_count);
-
retval = NULL;
i = 0;
while (i < tag_count)
@@ -1748,9 +1745,6 @@ gtk_text_iter_get_attributes (const GtkTextIter *iter,
return FALSE;
}
- /* Sort tags in ascending order of priority */
- _gtk_text_tag_array_sort (tags, tag_count);
-
_gtk_text_attributes_fill_from_tags (values,
tags,
tag_count);