gnome-terminal r2604 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2604 - trunk/src
- Date: Thu, 29 May 2008 19:37:49 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:37:48 2008
New Revision: 2604
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2604&view=rev
Log:
Remove extraneous setlocal call.
Modified:
trunk/src/terminal.c
Modified: trunk/src/terminal.c
==============================================================================
--- trunk/src/terminal.c (original)
+++ trunk/src/terminal.c Thu May 29 19:37:48 2008
@@ -1099,20 +1099,6 @@
GnomeProgram *program;
OptionParsingResults *parsing_results;
- if (setlocale (LC_ALL, "") == NULL)
- g_printerr ("GNOME Terminal: locale not understood by C library, "
- "internationalization will not work\n");
-
-#if 0
- {
- const char *charset;
- g_get_charset (&charset);
-
- g_print ("Running in locale \"%s\" with encoding \"%s\"\n",
- setlocale (LC_ALL, NULL), charset);
- }
-#endif
-
bindtextdomain (GETTEXT_PACKAGE, TERM_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]