src/win32/win32dep.c

changeset 4411
24b56b115e9d
parent 4406
a7d91dbcdae8
child 4535
9b3bdd5d6653
equal deleted inserted replaced
4410:9e593f7acd2e 4411:24b56b115e9d
267 267
268 /* get default locale */ 268 /* get default locale */
269 locale = g_win32_getlocale(); 269 locale = g_win32_getlocale();
270 debug_printf("Language profile used: %s\n", locale); 270 debug_printf("Language profile used: %s\n", locale);
271 271
272 /* 272 /* Aspell config */
273 * Aspell config
274 */
275 /* Set LANG env var */
276 sprintf(newenv, "LANG=%s", locale); 273 sprintf(newenv, "LANG=%s", locale);
277 if(putenv(newenv)<0) 274 if(putenv(newenv)<0)
278 debug_printf("putenv failed\n"); 275 debug_printf("putenv failed\n");
279 g_free(locale); 276 g_free(locale);
277
278 /* Disable PANGO UNISCRIBE (for GTK 2.2.0). This may not be necessary in the
279 future because there will most likely be a check to see if we need this,
280 but for now we need to set this in order to avoid poor performance for some
281 windows machines.
282 */
283 sprintf(newenv, "PANGO_WIN32_NO_UNISCRIBE=1");
284 if(putenv(newenv)<0)
285 debug_printf("putenv failed\n");
280 286
281 /* 287 /*
282 * IdleTracker Initialization 288 * IdleTracker Initialization
283 */ 289 */
284 if(!IdleTrackerInit()) 290 if(!IdleTrackerInit())

mercurial