From f7b24d88f41f67781972ccccee4a111edacbbb6a Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 19 Sep 2011 13:40:28 +0100 Subject: [PATCH] test-utils: Use g_setenv instead of setenv Apparently there is no setenv function on Windows so it's more portable to use g_setenv instead. Reviewed-by: Robert Bragg --- tests/conform/test-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conform/test-utils.c b/tests/conform/test-utils.c index 651e4ef1b..b765b4697 100644 --- a/tests/conform/test-utils.c +++ b/tests/conform/test-utils.c @@ -24,7 +24,7 @@ test_utils_init (TestUtilsGTestFixture *fixture, "$ make test-report"); counter++; - setenv ("COGL_X11_SYNC", "1", 0); + g_setenv ("COGL_X11_SYNC", "1", 0); state->ctx = cogl_context_new (NULL, &error); if (!state->ctx)