Re: Freeing up dialog elements?



On Sat, Oct 13, 2007 at 06:43:01PM -0500, Rob Hoelz wrote:
> Hello everyone,
> 
> I'm writing a Nautilus extension to allow a user to easily manage a
> Mercurial code repository from Nautilus.  One of the menu actions I
> have set up involves prompting the user via dialog.  My question is
> after I'm done with the dialog, how do I free up the space that's been
> allocated for them?  Should I just use free(), or...?

gtk_widget_destroy (dialog); will be enough.  The references on the
contained widgets will be destroyed aswell.  Bear with me if I'm wrong.

> Thanks,
> Rob Hoelz

Mike



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