changeset 4411:2ad81729c049

[gaim-migrate @ 4684] Fix for some Windows users reporting slow UI performance. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 25 Jan 2003 21:23:02 +0000
parents 61c9c2bd2a9c
children 8067614e49e4
files src/win32/win32dep.c
diffstat 1 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/win32/win32dep.c	Sat Jan 25 21:09:54 2003 +0000
+++ b/src/win32/win32dep.c	Sat Jan 25 21:23:02 2003 +0000
@@ -269,15 +269,21 @@
 	locale = g_win32_getlocale();
 	debug_printf("Language profile used: %s\n", locale);
 
-	/*
-	 *  Aspell config
-	 */
-	/* Set LANG env var */
+	/* Aspell config */
 	sprintf(newenv, "LANG=%s", locale);
 	if(putenv(newenv)<0)
 		debug_printf("putenv failed\n");
 	g_free(locale);
 
+	/* Disable PANGO UNISCRIBE (for GTK 2.2.0). This may not be necessary in the
+	   future because there will most likely be a check to see if we need this,
+	   but for now we need to set this in order to avoid poor performance for some 
+	   windows machines.
+	*/
+	sprintf(newenv, "PANGO_WIN32_NO_UNISCRIBE=1");
+	if(putenv(newenv)<0)
+		debug_printf("putenv failed\n");
+
 	/*
 	 *  IdleTracker Initialization
 	 */