[129] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: GTK text widget (was Re: Proposal for a new project)

daemon@ATHENA.MIT.EDU (Owen Taylor)
Tue May 13 16:52:27 1997

To: gtk-list@redhat.com
From: Owen Taylor <owt1@cornell.edu>
Date: 13 May 1997 16:53:17 -0400
In-Reply-To: Josh MacDonald's message of Tue, 13 May 1997 13:34:34 -0700
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


> Hmm, I thought it worked better than that.  I fixed a number of things
> in the 41097 snapshot.  Was it in a later or ealier version?
> 
> -josh

Not sure when I first noticed it, but (using 0.99.9 gtk):

Bring up testgtk. Click somewhere to bring up the insertion cursor.
Hit return.

Program received signal SIGSEGV, Segmentation fault.
0x40070bb0 in find_line_params (text=0x8069f98, mark=0xbffff324, 
    tab_cont=0xbffff30c, next_cont=0xbffff318) at gtktext.c:2662
2662          font = MARK_CURRENT_FONT (&lp.end);
(gdb) 

#0  0x40070bb0 in find_line_params (text=0x8069f98, mark=0xbffff324, 
    tab_cont=0xbffff30c, next_cont=0xbffff318) at gtktext.c:2662
#1  0x4006d16e in line_params_iterate (text=0x8069f98, mark0=0xbffff38c, 
    tab_mark0=0x80701cc, alloc=1 '\001', data=0xbffff358, 
    iter=0x4006d270 <fetch_lines_iterator>) at gtktext.c:1173
#2  0x4006d3cd in fetch_lines (text=0x8069f98, mark0=0xbffff38c, 
    tab_cont0=0x80701cc, fl_type=FetchLinesCount, data=1) at gtktext.c:1232
#3  0x4006d538 in fetch_lines_forward (text=0x8069f98, line_count=1)
    at gtktext.c:1271
#4  0x400719b5 in expose (text=0x8069f98, area=0xbffff410, cursor=0 '\000')
    at gtktext.c:3061
#5  0x4006e01f in insert_char_line_expose (text=0x8069f98, key=10 '\n', 
    old_pixels=24) at gtktext.c:1537
#6  0x4006c159 in gtk_text_insert_1_at_point (text=0x8069f98, key=10 '\n')
    at gtktext.c:915
#7  0x4006c6fb in gtk_text_key_press (widget=0x8069f98, event=0xbffff70c)
    at gtktext.c:989

If this doesn't happen for you, I could provide more details.

                                        Owen

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post