Re: gtk_entry_set_text() and very fast updates



"Bruce A. Smith" wrote:

> I may be wrong here, but doesn't gtk_entry_set_text make a copy of the string
> given. Try to free temp each time after the text setting. Unfortunately I'm
> nowhere near a GTK+ box to give this a test myself. This may just break the
> app badly if it needs the original.
>
> Hope this works.

That is what I had hoped, however it quickly segfaults after a few iterations.
Is there documentation somewhere that says what functions copy and what
functions don't?  Where it's safe to do what?

-d
begin:vcard 
n:Ford;David
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:david kalifornia com
title:Blue Labs Developer
x-mozilla-cpt:;14688
fn:David Ford
end:vcard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]