update docs to new error signal

Original commit message from CVS:
update docs to new error signal
This commit is contained in:
Benjamin Otte 2003-09-15 01:42:04 +00:00
parent 9afd27f29b
commit ac695261b3

View file

@ -198,7 +198,8 @@ gst_element_real_get_property (GObject *object, guint prop_id, GValue *value, GP
* gst_element_default_error: * gst_element_default_error:
* @object: a #GObject that signalled the error. * @object: a #GObject that signalled the error.
* @orig: the #GstObject that initiated the error. * @orig: the #GstObject that initiated the error.
* @error: the error message. * @error: the #GError.
* @detailed: the detailed string.
* *
* Adds a default error signal callback to an * Adds a default error signal callback to an
* element. The user data passed to the g_signal_connect is * element. The user data passed to the g_signal_connect is
@ -2075,12 +2076,16 @@ gst_element_convert (GstElement *element,
/** /**
* gst_element_error: * gst_element_error:
* @element: a #GstElement with the error. * @element: a #GstElement with the error.
* @file: file the error happened in (usually __FILE__)
* @function: function the error happened in or NULL if the function is not known (usually GST_FUNCTION)
* @line: line the error happened in (usually __LINE__)
* @error: the printf-style string describing the error. * @error: the printf-style string describing the error.
* @...: the optional arguments for the string. * @...: the optional arguments for the string.
* *
* signals an error condition on an element. * signals an error condition on an element.
* This function is used internally by elements. * This function is used internally.
* It results in the "error" signal. * It results in the "error" signal.
* You normally want to use gst_element_error() instead.
*/ */
void void
gst_element_error_detailed (GstElement *element, const gchar *file, const gchar *function, gst_element_error_detailed (GstElement *element, const gchar *file, const gchar *function,