summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-09-19 13:40:28 +0100
committerRobert Bragg <robert@linux.intel.com>2011-09-19 16:40:06 +0100
commitf7b24d88f41f67781972ccccee4a111edacbbb6a (patch)
tree2f771eb677215c609bc535241830c3dbccb42439
parent671a4dfb3425beaa6553776da9286164df87ec62 (diff)
downloadcogl-f7b24d88f41f67781972ccccee4a111edacbbb6a.tar.gz
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 <robert@linux.intel.com>
-rw-r--r--tests/conform/test-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conform/test-utils.c b/tests/conform/test-utils.c
index 651e4ef1..b765b469 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)