mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
gst/gstchildproxy.c: Invert precondition check to be alike the ones in the mimiced gobject api.
Original commit message from CVS: * 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.
This commit is contained in:
parent
852774ec6c
commit
08b70416cb
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue