gedit r5664 - in trunk: . gedit



Author: pborelli
Date: 2007-06-29 13:59:47 +0100 (Fri, 29 Jun 2007)
New Revision: 5664
ViewCVS link: http://svn.gnome.org/viewcvs/gedit?rev=5664&view=rev

Modified:
   trunk/ChangeLog
   trunk/gedit/gedit-encodings.c
   trunk/gedit/gedit-encodings.h
Log:
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.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]