Re: When to free GtkBuilder

2014-04-18 Thread Tristan van Berkom
On 2014-04-18, at 10:31 AM, Tristian Celestin wrote: > Is it necessary to keep a GtkBuilder object around once I've obtained > references to relevant widgets and connected the widgets to handlers? No, there is no reason to keep the builder object alive after that point - some existing code d

When to free GtkBuilder

2014-04-18 Thread Tristian Celestin
Is it necessary to keep a GtkBuilder object around once I've obtained references to relevant widgets and connected the widgets to handlers? Lots of code I've seen doesn't free the builder after it's been instantiated, such as in this example: https://github.com/chergert/custom-gtk-widgets/blob/