Skip to content
  • Jody Goldberg's avatar
    fix a warning on exit when closing 1 of many open sheets. · 6891d63e
    Jody Goldberg authored
    2001-08-28  Jody Goldberg <jgoldberg@home.com>
    
    	* src/sheet-control-gui.c (scg_mode_edit) : fix a warning on exit
    	  when closing 1 of many open sheets.
    
    	* src/gnumeric-graph.c : make the debug spew conditional.
    	(CMANAGER1) : new macro.
    	(gnm_graph_new) : add more safety checks.
    	(gnm_graph_arrange_vectors) : use the versioning macros.
    	(gnm_graph_import_specification) : new routine.
    
    	* idl/gnumeric-graphs.idl (importSpecification) : new routine.
    
    	* src/xml-io.c : clean up.
    	s/xml_get_value_int/xml_prop_get_int/
    	s/xml_set_value_int/xml_prop_set_int/
    	s/xml_get_value_double/xml_prop_get_double/
    	s/xml_set_value_double/xml_prop_set_double/
    	s/xml_set_value_points/xml_prop_set_points/
    	s/xml_set_value_cstr/xml_prop_set_cstr/
    	s/xml_set_prop_cellpos/xml_prop_set_cellpos/
    	s/xml_get_prop_cellpos/xml_prop_get_cellpos/
    	s/xml_read_range/xml_prop_get_range/
    	s/xml_get_print_hf/xml_prop_get_print_hf/
    	s/xml_set_print_hf/xml_prop_set_print_hf/
    	s/xml_set_color_value/xml_prop_set_color/
    	s/xml_get_color_value/xml_prop_get_color/
    	s/xml_set_value_color/xml_prop_set_gdkcolor/
    	s/xml_get_value_color/xml_prop_get_gdkcolor/
    
    	Remove the pointless searching of children for content.
    	We never relied on those semantics, nor do we want them.
    
    	(xml_sheet_create) : Use xmlGetProp directly.
    	(xml_sheet_read) : ditto.
    	(xml_read_solver) : ditto.
    	(xml_write_solver) : use xml_prop_set_cstr.
    	(xml_write_print_info) : Use xmlNewChild.
    	(xml_value_get) : delete and use xmlGetProp directly.
    
    2001-08-27  Jody Goldberg <jgoldberg@home.com>
    
    	* src/gnumeric-graph.c (gnm_graph_vector_set_expr) : remove debuggin
    	  cruft.
    6891d63e