CVSROOT: /cvs/gnome Module name: gnumeric Changes by: mortenw 05/05/09 17:20:11
Modified files: . : ChangeLog NEWS plugins/plan-perfect: pln.c plugins/sc : sc.c src : commands.c sheet.c stf.c workbook-control-gui.c workbook.c src/dialogs : dialog-scenarios.c Log message: 2005-05-09 Morten Welinder <[EMAIL PROTECTED]> * src/workbook.c (workbook_sheet_attach_at_pos): Add a ref to sheet to balance the unref in workbook_sheet_detach. (workbook_sheet_attach): Counter the above ref here. (workbook_sheet_add): Counter the above ref here. Document that the returned sheet's ref is owned by the workbook. (workbook_sheet_detach): Get rid of sheet views here. Replace almost all uses of this with workbook_sheet_delete. (It was typically used to get rid of sheets that got created during a load which then failed.) * src/workbook-control-gui.c (wbcg_insert_sheet, wbcg_append_sheet): Use new cmd_reorganize_sheets2. * src/sheet.c (sheet_set_name): Fix logic to determine if a sheet is attached. (sheet_cell_destroy): Don't get rid of view here. * src/commands.c (command_undo): Hold a ref to cmd so it doesn't go away underneath us. Don't crash if the undo command clears the undo queue. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnumeric&who=mortenw&date=explicit&mindate=2005-05-09%2017:19&maxdate=2005-05-09%2017:21 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list