# HG changeset patch # User Herman Bloggs # Date 1043529782 0 # Node ID 2ad81729c049202eb93c327f83e2af5daffbafc1 # Parent 61c9c2bd2a9c2f43284e25f762b488ab22f890d8 [gaim-migrate @ 4684] Fix for some Windows users reporting slow UI performance. committer: Tailor Script diff -r 61c9c2bd2a9c -r 2ad81729c049 src/win32/win32dep.c --- 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 */