From: Takaaki T. <tt...@kt...> - 2001-11-27 09:59:45
|
At Tue, 27 Nov 2001 08:55:42 -0500, Kent Dahl <ke...@st...> wrote: > *2 and *3 still seg-fault. > *2 is because rb_to_fl returns NULL if VALUE is Qnil, which I don't > think Fl::paste likes. Sorry, that's my fault. > *3 is the main problem I worry about. It seems that w.show in turn > initializes something that allows events to be sent. I tried to call > b.show and then Fltk.paste(b), but that still segfaults. So I still > suspect some FLTK wide initialization code, which may be that > Fl::check() is responcible to... uhm, check? I can see about *3. I made the rb_fltk_paste() call Fl::check() before Fl::paste(). By the way, where did you call b.show and Fltk.paste(b)? Thanks, -- Takaaki Tateishi <tt...@kt...> |