diff --git a/gst-libs/gst/gl/x11/gstglcontext_glx.c b/gst-libs/gst/gl/x11/gstglcontext_glx.c index 7c3c23e82b..93482274d8 100644 --- a/gst-libs/gst/gl/x11/gstglcontext_glx.c +++ b/gst-libs/gst/gl/x11/gstglcontext_glx.c @@ -107,9 +107,9 @@ gst_gl_context_glx_init (GstGLContextGLX * context) GstGLContextGLX * gst_gl_context_glx_new (void) { - GstGLContextGLX *window = g_object_new (GST_GL_TYPE_CONTEXT_GLX, NULL); + GstGLContextGLX *context = g_object_new (GST_GL_TYPE_CONTEXT_GLX, NULL); - return window; + return context; } static inline void