39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- libgnomeui/gnome-init.c.orig Tue May 14 06:32:19 2002
|
|
+++ libgnomeui/gnome-init.c Thu May 23 23:09:44 2002
|
|
@@ -205,32 +205,6 @@
|
|
switch(reason) {
|
|
case POPT_CALLBACK_REASON_PRE:
|
|
{
|
|
- char *ctype, *old_ctype = NULL;
|
|
- gboolean ctype_set;
|
|
-
|
|
- gnome_segv_setup (FALSE);
|
|
- ctype = setlocale (LC_CTYPE, NULL);
|
|
-
|
|
- if (ctype && !strcmp(ctype, "C")) {
|
|
- old_ctype = g_strdup (getenv ("LC_CTYPE"));
|
|
- putenv ("LC_CTYPE=en_US");
|
|
- ctype_set = TRUE;
|
|
- } else
|
|
- ctype_set = FALSE;
|
|
-
|
|
- gtk_set_locale ();
|
|
-
|
|
- if (ctype_set) {
|
|
- char *setme;
|
|
-
|
|
- if (old_ctype) {
|
|
- setme = g_strconcat ("LC_CTYPE=", old_ctype, NULL);
|
|
- g_free(old_ctype);
|
|
- } else
|
|
- setme = "LC_CTYPE=";
|
|
-
|
|
- putenv (setme);
|
|
- }
|
|
client = gnome_master_client();
|
|
}
|
|
break;
|