diff options
author | Havoc Pennington <hp@redhat.com> | 2000-12-08 20:08:52 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-12-08 20:08:52 +0000 |
commit | 565074f9a3eaaf3f88c71051624ee28836506ff1 (patch) | |
tree | db07bfceb9ef8a22ac0c2686d1cd784e14577f4b /gtk/gtktextchild.c | |
parent | 544bfc3d1a31cef7613780c668d45deb92802818 (diff) | |
download | gtk+-565074f9a3eaaf3f88c71051624ee28836506ff1.tar.gz |
fix breakage here that cause a segfault on text insertion
2000-12-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextbtree.c (gtk_text_btree_insert): fix breakage here
that cause a segfault on text insertion
* gtk/gtktextchild.c (gtk_text_child_anchor_queue_resize): fix
warning
* gtk/gtktextiter.c (test_log_attrs): use
_gtk_text_buffer_get_line_log_attrs to speed things up a bit
* gtk/gtktextbuffer.c (_gtk_text_buffer_get_line_log_attrs):
Get log attrs for a line, using a cache stored on the buffer
* gtk/gtkcolorsel.h (GTK_COLOR_SELECTION_GET_CLASS): fix typo,
reported by Jeff Franks
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 ced17a8ddb..db93231e6c 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -445,7 +445,7 @@ gtk_text_child_anchor_queue_resize (GtkTextChildAnchor *anchor, seg = anchor->segment; if (seg->body.child.tree == NULL) - return NULL; + return; gtk_text_buffer_get_iter_at_child_anchor (layout->buffer, &start, anchor); |