blob: 6e87d04eb50c2c6f04a021c1dc53fc070a9eec98 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
$FreeBSD$
--- libgnomeui/gnome-init.c.orig Thu Aug 16 21:15:48 2001
+++ libgnomeui/gnome-init.c Wed Aug 22 16:15:00 2001
@@ -205,32 +205,8 @@
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 (!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;
|