gnome-terminal r2567 - branches/gnome-2-22/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2567 - branches/gnome-2-22/src
- Date: Fri, 23 May 2008 22:03:08 +0000 (UTC)
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]