Commit 65e10920 authored by Committed by Morten Welinder
Just dispose of the view. That will both break cycles and indirectly
2005-06-12 Morten Welinder <email@example.com> * src/workbook.c (workbook_detach_view): Just dispose of the view. That will both break cycles and indirectly unref. (workbook_sheet_delete): Ditto. * src/workbook-view.c (wb_view_sheet_add): Don't leak a ref to the new view. * src/sheet-view.c (sheet_view_new): Ref the sheet view when we add it to the sheet's list of views. (sv_real_dispose): Unref as we remove from said list.
Showing with 33 additions and 6 deletions