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
parent 3772c8ece6
commit 0f0bf863fa

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;