Skip to content
  • Morten Welinder's avatar
    Just dispose of the view. That will both break cycles and indirectly · 65e10920
    Morten Welinder authored
    2005-06-12  Morten Welinder  <terra@gnome.org>
    
    	* 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.
    65e10920