glwindow: Fix g_return_val_if_fail in a void function

This commit is contained in:
Jan Schmidt 2015-09-17 21:31:39 +10:00 committed by Tim-Philipp Müller
parent 25c109f850
commit 6b67fdf2ef

View file

@ -1149,7 +1149,7 @@ gst_gl_window_queue_resize (GstGLWindow * window)
{
GstGLWindowClass *window_class;
g_return_val_if_fail (GST_GL_IS_WINDOW (window), FALSE);
g_return_if_fail (GST_GL_IS_WINDOW (window));
window_class = GST_GL_WINDOW_GET_CLASS (window);
window->queue_resize = TRUE;