Re: Freeing up dialog elements?

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

 



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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux