Skip to content
  • Paolo Borelli's avatar
    Make gedit_encodings_copy just return the same pointer and · f64c4f47
    Paolo Borelli authored
    2007-06-29  Paolo Borelli  <pborelli@katamail.com>
    
    	* gedit-encodings.[ch]:
    
    	Make gedit_encodings_copy just return the same pointer and
    	gedit_encodings_free a noop: GeditEncoding is not a real 
    	boxed type and the GeditEncoding object for a given encoding
    	should always be the same pointer.
    	While at it also make sure that our table of encodings is 
    	const so that it can go in readonly section. Translation
    	of encoding names are resolved lazily.
    
    
    svn path=/trunk/; revision=5664
    f64c4f47