summaryrefslogtreecommitdiff
path: root/gtk/gtktextmark.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-11-07 21:01:02 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-11-07 21:01:02 +0000
commitf1de9df0511db6e82ee12c8e7f78d68d7a31cbbe (patch)
treee7c7ec7be138908bef2c5395d50ab6710f86f6d9 /gtk/gtktextmark.c
parent163dc54dea828d41fe12eb762c730e57444d63f3 (diff)
downloadgtk+-f1de9df0511db6e82ee12c8e7f78d68d7a31cbbe.tar.gz
rename to gtk_text_mark_get_visible
2000-11-07 Havoc Pennington <hp@redhat.com> * gtk/gtktextmark.c (gtk_text_mark_is_visible): rename to gtk_text_mark_get_visible * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): fix bug that was generating an invalid iterator * gtk/gtktextiter.c (gtk_text_iter_get_offset): move call to ensure_char_offsets() in front of code placing the iter in an invalid state. * gtk/gtktextbuffer.c (gtk_text_buffer_paste_primary): make override_location arg const (paste): Replace the selection if we paste into the current selection * gtk/gtkselection.h: Remove "GtkSelectioData" (struct _GtkSelectionData): move the definition here. * gtk/gtktextbuffer.c (gtk_text_buffer_update_primary_selection): Export the GTK_TEXT_BUFFER_CONTENTS target for in-process copies * gtk/gtktextiter.c (gtk_text_iter_get_tags): New function * gtk/gtktextbuffer.c (gtk_text_buffer_insert_range): implement (gtk_text_buffer_insert_range_interactive): implement (gtk_text_buffer_get_tags): Remove, replaced by gtk_text_iter_get_tags() * gtk/gtktextiter.c (gtk_text_iter_forward_search): Add a search limit parameter, to avoid infinite linear scan. (gtk_text_iter_backward_search): Add search limit (gtk_text_iter_forward_find_char): Add search limit (gtk_text_iter_backward_find_char): Add search limit
Diffstat (limited to 'gtk/gtktextmark.c')
-rw-r--r--gtk/gtktextmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c
index 13587007bc..4e20eb300c 100644
--- a/gtk/gtktextmark.c
+++ b/gtk/gtktextmark.c
@@ -128,7 +128,7 @@ gtk_text_mark_finalize (GObject *obj)
}
/**
- * gtk_text_mark_is_visible:
+ * gtk_text_mark_get_visible:
* @mark: a #GtkTextMark
*
* Returns %TRUE if the mark is visible (i.e. a cursor is displayed
@@ -137,7 +137,7 @@ gtk_text_mark_finalize (GObject *obj)
* Return value: %TRUE if visible
**/
gboolean
-gtk_text_mark_is_visible (GtkTextMark *mark)
+gtk_text_mark_get_visible (GtkTextMark *mark)
{
GtkTextLineSegment *seg;