diff options
author | Yevgen Muntyan <muntyan@tamu.edu> | 2007-11-15 17:03:09 +0000 |
---|---|---|
committer | Yevgen Muntyan <muntyan@src.gnome.org> | 2007-11-15 17:03:09 +0000 |
commit | abad58b003b933603ebaac98ff28748b4877f33d (patch) | |
tree | e5070851c12099e70141435dc89035b79d70df9d /gtk/gtktextbtree.h | |
parent | 921da326f5dd7fed5ef01b32b7269ea8fc4bf745 (diff) | |
download | gtk+-abad58b003b933603ebaac98ff28748b4877f33d.tar.gz |
new functions _gtk_text_btree_get_insert() and
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextbtree.h:
* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
and _gtk_text_btree_get_selection_bound() (#497102).
* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
(gtk_text_buffer_get_selection_bound): use them here instead of
hash table lookup.
svn path=/trunk/; revision=18996
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r-- | gtk/gtktextbtree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h index 053d9e1a20..627b2fc681 100644 --- a/gtk/gtktextbtree.h +++ b/gtk/gtktextbtree.h @@ -200,12 +200,13 @@ void _gtk_text_btree_place_cursor (GtkTextBTree const GtkTextIter *where); void _gtk_text_btree_select_range (GtkTextBTree *tree, const GtkTextIter *ins, - const GtkTextIter -*bound); + const GtkTextIter *bound); gboolean _gtk_text_btree_mark_is_insert (GtkTextBTree *tree, GtkTextMark *segment); gboolean _gtk_text_btree_mark_is_selection_bound (GtkTextBTree *tree, GtkTextMark *segment); +GtkTextMark *_gtk_text_btree_get_insert (GtkTextBTree *tree); +GtkTextMark *_gtk_text_btree_get_selection_bound (GtkTextBTree *tree); GtkTextMark *_gtk_text_btree_get_mark_by_name (GtkTextBTree *tree, const gchar *name); GtkTextLine * _gtk_text_btree_first_could_contain_tag (GtkTextBTree *tree, |