Re: GtkBox memory leak?


On Sat, Oct 25, 2008 at 6:32 PM, Matt Bucknall <matt mattbucknall com> wrote:
> 'gtk_box_forall' passing gtk_widget_destroy as the callback to destroy all
> the container's child widgets. What I cannot see is how, in the latter case,
> all the GtkBoxChild objects associated with the child widgets are destroyed.
> Is there some hidden mechanism at play here, or is there a bug?

The 'destroy' signal probably results in a gtk_container_remove, thus
freeing the box children.


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