[glib] keyfile tests: Fix windows build using portable g_setenv



commit 59881a65b2c92edfcc1ad26ec04ff99f401a962b
Author: Andoni Morales Alastruey <amorales flumotion com>
Date:   Thu Jan 26 14:38:14 2012 +0100

    keyfile tests: Fix windows build using portable g_setenv

 glib/tests/keyfile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/keyfile.c b/glib/tests/keyfile.c
index 423351c..9f40236 100644
--- a/glib/tests/keyfile.c
+++ b/glib/tests/keyfile.c
@@ -679,7 +679,7 @@ test_locale_string (void)
   /* now test that translations are thrown away */
 
   old_locale = g_strdup (setlocale (LC_ALL, NULL));
-  setenv ("LANGUAGE", "de", TRUE);
+  g_setenv ("LANGUAGE", "de", TRUE);
   setlocale (LC_ALL, "");
 
   keyfile = load_data (data, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]