Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it OK to pass an SCM through (void *)?
Maciej Stachowiak <mstachow@mit.edu> writes:
> One problem here is that the object will stay protected even if you
> disconnect that signal handler, or even destroy the widget it is
> associated with, unless you do some extra tracking so you can
> unprotect it. This will result in memory leaks.
You might want to look into gtk_signal_connect_full. This is what
guile-gtk uses to get the bookkeeping done. Please ask if you want to
know more.
Guile Home |
Main Index |
Thread Index