diff options
author | Havoc Pennington <hp@redhat.com> | 2000-12-11 15:51:20 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-12-11 15:51:20 +0000 |
commit | 310a0d4fcca113f1dbc60feaba406f6b5526df43 (patch) | |
tree | de25976d3423470edd30ab727c6e09f9f774e968 /gtk/gtktextchild.c | |
parent | 116853db94f841c81565ecd8cd94302143e3dda8 (diff) | |
download | gtk+-310a0d4fcca113f1dbc60feaba406f6b5526df43.tar.gz |
Handle chopping off \r\n and 0x2029 in addition to \n before passing to
2000-12-11 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
Handle chopping off \r\n and 0x2029 in addition to \n before
passing to PangoLayout
* gtk/gtkimcontextsimple.c
(gtk_im_context_simple_get_preedit_string):
return an empty string if no match is pending
* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): add
assertion that the returned preedit string was sane
* gtk/gtktext*.[hc], gtk/testtext.c, gtk/testtextbuffer.c:
s/gtk_text_iter_next_char/gtk_text_iter_forward_char/g;
s/gtk_text_iter_prev_char/gtk_text_iter_backward_char/g;
Diffstat (limited to 'gtk/gtktextchild.c')
-rw-r--r-- | gtk/gtktextchild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index db93231e6c..5595e2d4ce 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -450,7 +450,7 @@ gtk_text_child_anchor_queue_resize (GtkTextChildAnchor *anchor, gtk_text_buffer_get_iter_at_child_anchor (layout->buffer, &start, anchor); end = start; - gtk_text_iter_next_char (&end); + gtk_text_iter_forward_char (&end); gtk_text_layout_invalidate (layout, &start, &end); } |