I have a package in my GTK application and I replace it every time again with a completely new entry (at least right now I'm in a hurry).
Since I am replacing it with a new instance, do I need to explicitly free the contents of the old package from memory, or is there any garbage collection in GTK?
If I need to explicitly free an object, is there a command that will recursively jump to all the objects in this tree (for example, will clear my button in the box container inside my main package)? Also, what about signals and handlers associated with objects?
I am using C / GTK-2.0 (gcc v4.4.3 and GTK 2.20.0).
source share