diff --git a/ChangeLog b/ChangeLog index 103ea1b1d3..076b8a0be7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-03-14 Stefan Kost + + * gst/gstchildproxy.c: (gst_child_proxy_get_property), + (gst_child_proxy_set_property): + Invert precondition check to be alike the ones in the mimiced gobject + api. + 2007-03-13 Stefan Kost * docs/design/draft-tagreading.txt: diff --git a/gst/gstchildproxy.c b/gst/gstchildproxy.c index c56fb2d40e..48a25fec7f 100644 --- a/gst/gstchildproxy.c +++ b/gst/gstchildproxy.c @@ -214,7 +214,7 @@ gst_child_proxy_lookup (GstObject * object, const gchar * name, * gst_child_proxy_get_property: * @object: object to query * @name: name of the property - * @value: an uninitialized #GValue that should take the result. + * @value: a #GValue that should take the result. * * Gets a single property using the GstChildProxy mechanism. * You are responsible for for freeing it by calling g_value_unset() @@ -228,7 +228,7 @@ gst_child_proxy_get_property (GstObject * object, const gchar * name, g_return_if_fail (GST_IS_OBJECT (object)); g_return_if_fail (name != NULL); - g_return_if_fail (!G_IS_VALUE (value)); + g_return_if_fail (G_IS_VALUE (value)); if (!gst_child_proxy_lookup (object, name, &target, &pspec)) goto not_found; @@ -316,7 +316,7 @@ gst_child_proxy_set_property (GstObject * object, const gchar * name, g_return_if_fail (GST_IS_OBJECT (object)); g_return_if_fail (name != NULL); - g_return_if_fail (!G_IS_VALUE (value)); + g_return_if_fail (G_IS_VALUE (value)); if (!gst_child_proxy_lookup (object, name, &target, &pspec)) goto not_found;