gstcontext: Fix return values some more
authorEdward Hervey <edward@collabora.com>
Thu, 19 Sep 2013 10:07:56 +0000 (12:07 +0200)
committerEdward Hervey <edward@collabora.com>
Thu, 19 Sep 2013 10:07:56 +0000 (12:07 +0200)
Return value is a boolean not a pointer

gst/gstcontext.c

index 60b99e7..75a1c3f 100644 (file)
@@ -266,7 +266,7 @@ gst_context_writable_structure (GstContext * context)
 gboolean
 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;
 }