gnome-terminal r2567 - branches/gnome-2-22/src



Author: chpe
Date: Fri May 23 22:03:08 2008
New Revision: 2567
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2567&view=rev

Log:

	* src/encoding.c: (update_active_encodings_from_string_list): Use the
	correct allocator.

Modified:
   branches/gnome-2-22/src/encoding.c

Modified: branches/gnome-2-22/src/encoding.c
==============================================================================
--- branches/gnome-2-22/src/encoding.c	(original)
+++ branches/gnome-2-22/src/encoding.c	Fri May 23 22:03:08 2008
@@ -369,7 +369,7 @@
       
       if (e == NULL)
         {
-          encoding = g_new0 (TerminalEncoding, 1);
+          encoding = g_slice_new0 (TerminalEncoding);
           
           encoding->index = -1;
           encoding->valid = TRUE; /* scary! */



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