gstcontext: Fix return values some more

Return value is a boolean not a pointer
This commit is contained in:
Edward Hervey 2013-09-19 12:07:56 +02:00
parent 291991dac2
commit c4539db3c1

View file

@ -266,7 +266,7 @@ gst_context_writable_structure (GstContext * context)
gboolean gboolean
gst_context_is_persistent (const GstContext * context) gst_context_is_persistent (const GstContext * context)
{ {
g_return_val_if_fail (GST_IS_CONTEXT (context), NULL); g_return_val_if_fail (GST_IS_CONTEXT (context), FALSE);
return context->persistent; return context->persistent;
} }