Freeing a widget from memory...



Dear Sirs,

I am rather new to the GTK+ toolkit and I am working on my first project
using it. The GTK+ reference does not describe the gtk_widget_unref and
destroy functions. Which one should I use to free a widget from memory?
I have tried both and unref gives me a runtime warning. destroy _seems_
to be working fine.

Which should I use?

--
Janus N. Tøndering
"Trying is the first step to failure" -- Homer Simpson





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