|
From: Allin C. <cot...@wf...> - 2000-06-29 18:18:42
|
On Thu, 29 Jun 2000, Adrian Feiguin wrote: > All the memory is deallocated in gtk_sheet_finalize. When > you call gtk_object_destroy, object_finalize is not called. > You whould use either gtk_object_unref or gtk_widget_unref. > I think it should work. Regards, Sorry, I must be missing something obvious. When I connect a gtk_object_unref signal for my sheet, to the closing of its toplevel window, I still get the leak, plus this warning: Gtk-CRITICAL **: file gtkobject.c: line 1179 (gtk_object_unref): assertion `object->ref_count > 0' failed. It seems that somehow the sheet is being "lost" before it is properly deallocated :-( Allin Cottrell. |