Re: what happens when I use gtk_widget_destroy??? (singnals)



Tristan Van Berkom wrote:
Russell Shaw wrote:
[ ... ]

If in a program I create a window several times and I
don't make the disconnect stuff, will it use a lot of
memory or the same signal handler will be used?

Memory is leaked each time.

Wow, that sounded allarming :-/

This is untrue, when your window is destroyed/finalized,
all memory allocated for signal marshalling will be freed.

Yes. I misread it as creating a window many times and
not destroying old ones.



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