+2007-03-14 Stefan Kost <ensonic@users.sf.net>
+
+ * 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 <ensonic@users.sf.net>
* docs/design/draft-tagreading.txt:
* 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()
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;
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;