gtk: add to the generic/states test

This commit is contained in:
Matthew Waters 2015-07-09 13:03:23 +10:00
parent c3f1f2d78b
commit 469ea20754
2 changed files with 2 additions and 2 deletions

View file

@ -586,7 +586,7 @@ gtk_gst_gl_widget_set_buffer (GtkGstGLWidget * widget, GstBuffer * buffer)
GMainContext *main_context = g_main_context_default ();
g_return_if_fail (GTK_IS_GST_GL_WIDGET (widget));
g_return_if_fail (widget->priv->negotiated);
g_return_if_fail (buffer == NULL || widget->priv->negotiated);
g_mutex_lock (&widget->priv->lock);

View file

@ -341,7 +341,7 @@ gtk_gst_widget_set_buffer (GtkGstWidget * widget, GstBuffer * buffer)
GMainContext *main_context = g_main_context_default ();
g_return_if_fail (GTK_IS_GST_WIDGET (widget));
g_return_if_fail (widget->priv->negotiated);
g_return_if_fail (buffer == NULL || widget->priv->negotiated);
g_mutex_lock (&widget->priv->lock);