summaryrefslogtreecommitdiffstats
path: root/ext/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sdl')
-rw-r--r--ext/sdl/sdlvideosink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 321b7e89..ef8147ea 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -593,12 +593,12 @@ gst_sdlvideosink_initsdl (GstSDLVideoSink * sdlvideosink)
}
if (!sdlvideosink->xwindow_id) {
- unsetenv ("SDL_WINDOWID");
+ g_unsetenv ("SDL_WINDOWID");
} else {
char SDL_hack[32];
sprintf (SDL_hack, "%lu", sdlvideosink->xwindow_id);
- setenv ("SDL_WINDOWID", SDL_hack, 1);
+ g_setenv ("SDL_WINDOWID", SDL_hack, 1);
}
/* Initialize the SDL library */