Re: Object finalization and automatic signals disconnection.

2009-04-09 Thread Ali Abdallah
Matthias Clasen wrote: On Wed, Apr 8, 2009 at 4:30 AM, Ali Abdallah al...@xfce.org wrote: Hi, g_signal_connect //(instance, detailed_signal, c_handler, data), if the object which connects to this signal is freed and the instance is not so the signal is not automatically disconnected, next

Object finalization and automatic signals disconnection.

2009-04-08 Thread Ali Abdallah
Hi, g_signal_connect //(instance, detailed_signal, c_handler, data), if the object which connects to this signal is freed and the instance is not so the signal is not automatically disconnected, next signal sent by the instance is guaranteed to produce a SIGSEV. It is very annoying in these

Re: Object finalization and automatic signals disconnection.

2009-04-08 Thread Matthias Clasen
On Wed, Apr 8, 2009 at 4:30 AM, Ali Abdallah al...@xfce.org wrote: Hi, g_signal_connect //(instance, detailed_signal, c_handler, data), if the object which connects to this signal is freed and the instance is not so the signal is not automatically disconnected, next signal sent by the