hi,
I attached with this message a small GTK application which shows my
problem with referencement objects in the signals.
When create
obj->ref_count = 1 (OK)
When send signal without unref :
> signal last NONE (NONE)
> void signal_without_unref(self);
in signal obj->ref_count = 2 (OK)
after signal obj->ref_count = 2 (my problem)
When send signal with unref
> signal last NONE (NONE)
> void signal_with_unref(self);
> {
> g_object_unref(self);
> }
in signal obj->ref_count = 2 (OK)
after signal obj->ref_count = 1 (OK)
apparently, the object is not unreferenced at the end of the signal.
I use gob 2.0.4 and glib 2.0.6
Regards
This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT