From ee3032a6c95d85ae7e912ad23b33fad4c20424e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 6 Nov 2011 00:07:10 +0000 Subject: [PATCH] Revert "controller: fix g_return statement" This reverts commit 593d2b297bd7b5ce9dbcdf2f1ae2b7624d94d6ae. gst_controller_set_disabled () returns a void. --- gst/gstcontroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstcontroller.c b/gst/gstcontroller.c index c9f033cdb1..5e43fdbc3b 100644 --- a/gst/gstcontroller.c +++ b/gst/gstcontroller.c @@ -565,7 +565,7 @@ gst_controller_set_disabled (GstController * self, gboolean disabled) GList *node; GstControlledProperty *prop; - g_return_val_if_fail (GST_IS_CONTROLLER (self), FALSE); + g_return_if_fail (GST_IS_CONTROLLER (self)); g_mutex_lock (self->lock); for (node = self->properties; node; node = node->next) {