remove unused gst_element_default_error()

https://bugzilla.gnome.org/show_bug.cgi?id=611692
This commit is contained in:
Benjamin Otte 2010-03-02 16:20:15 +01:00
parent fa0d218e4c
commit 5c01dcb1f7
2 changed files with 0 additions and 28 deletions

View file

@ -292,33 +292,6 @@ gst_element_init (GstElement * element)
element->state_cond = g_cond_new ();
}
/**
* gst_element_default_error:
* @object: a #GObject that signalled the error.
* @orig: the #GstObject that initiated the error.
* @error: the GError.
* @debug: an additional debug information string, or %NULL.
*
* A default error signal callback to attach to an element.
* The user data passed to the g_signal_connect is ignored.
*
* The default handler will simply print the error string using g_print.
*
* MT safe.
*/
void
gst_element_default_error (GObject * object, GstObject * source, GError * error,
gchar * debug)
{
gchar *name = gst_object_get_path_string (source);
g_print (_("ERROR: from element %s: %s\n"), name, error->message);
if (debug)
g_print (_("Additional debug info:\n%s\n"), debug);
g_free (name);
}
/**
* gst_element_release_request_pad:
* @element: a #GstElement to release the request pad of.

View file

@ -270,7 +270,6 @@ EXPORTS
gst_element_class_set_details_simple
gst_element_continue_state
gst_element_create_all_pads
gst_element_default_error
gst_element_factory_can_sink_caps
gst_element_factory_can_src_caps
gst_element_factory_create