[Glade-users] Dialog with glade

Tristan Van Berkom tvb at gnome.org
Wed Dec 20 09:26:10 EST 2006


On Wed, 2006-12-20 at 10:30 +0100, Paolo Franzetti wrote:
[...]
> 
> OK! I have completely missed the "visibility" attribute.
> 
> Now it works perfectly
> 
> Thank you very much to all.

Now that you set the visibility flag on the dialog
the dialog shows up, sure. But the dialog uses allocated
memory - when do you destroy the dialog ?

What about the newly created GladeXML object that you
create in the button click callback, where do you unref that ?

Just a friendly reminder to free your allocated resources.

Cheers,
                         -Tristan




More information about the Glade-users mailing list