mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 16:34:10 +00:00
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>
This commit is contained in:
parent
671a4dfb34
commit
f7b24d88f4
@ -24,7 +24,7 @@ test_utils_init (TestUtilsGTestFixture *fixture,
|
|||||||
"$ make test-report");
|
"$ make test-report");
|
||||||
counter++;
|
counter++;
|
||||||
|
|
||||||
setenv ("COGL_X11_SYNC", "1", 0);
|
g_setenv ("COGL_X11_SYNC", "1", 0);
|
||||||
|
|
||||||
state->ctx = cogl_context_new (NULL, &error);
|
state->ctx = cogl_context_new (NULL, &error);
|
||||||
if (!state->ctx)
|
if (!state->ctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user