fix _gst_element_error_printf prototype

Original commit message from CVS:
fix _gst_element_error_printf prototype
This commit is contained in:
Thomas Vander Stichele 2004-01-20 10:32:38 +00:00
parent 134e00d543
commit 075034841a
2 changed files with 5 additions and 9 deletions

View file

@ -1,3 +1,7 @@
2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.h: fix _gst_element_error_printf prototype
2004-01-20 David Schleef <ds@schleef.org> 2004-01-20 David Schleef <ds@schleef.org>
* gst/gststructure.c: (gst_structure_to_string): * gst/gststructure.c: (gst_structure_to_string):
@ -17,12 +21,6 @@
we want to keep that one in the future or change xvidenc.c to use we want to keep that one in the future or change xvidenc.c to use
another error. another error.
2004-01-19 Julien MOUTTE <julien@moutte.net>
* gst/gstelement.h: Temporary fixing core build breakage due to
_gst_element_error_printf being undeclared before the macro. Thomas
please fix that soon !
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org> 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.c: (_gst_element_error_printf): * gst/gstelement.c: (_gst_element_error_printf):

View file

@ -139,8 +139,6 @@ typedef enum {
#define GST_ELEMENT_CLOCK(obj) (((GstElement*)(obj))->clock) #define GST_ELEMENT_CLOCK(obj) (((GstElement*)(obj))->clock)
#define GST_ELEMENT_PADS(obj) ((obj)->pads) #define GST_ELEMENT_PADS(obj) ((obj)->pads)
gchar * _gst_element_error_printf (const gchar *format, ...);
#define gst_element_error(el, domain, code, message, debug) G_STMT_START { \ #define gst_element_error(el, domain, code, message, debug) G_STMT_START { \
gst_element_error_extended (GST_ELEMENT(el), \ gst_element_error_extended (GST_ELEMENT(el), \
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \ GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
@ -367,7 +365,7 @@ void gst_element_found_tags_for_pad (GstElement *element, GstPad *pad, GstCloc
void gst_element_set_eos (GstElement *element); void gst_element_set_eos (GstElement *element);
gchar * gst_element_error_printf (const gchar *format, ...); gchar * _gst_element_error_printf (const gchar *format, ...);
void gst_element_error_extended (GstElement *element, GQuark domain, gint code, gchar *message, gchar *debug, const gchar *file, const gchar *function, gint line); void gst_element_error_extended (GstElement *element, GQuark domain, gint code, gchar *message, gchar *debug, const gchar *file, const gchar *function, gint line);
gboolean gst_element_is_locked_state (GstElement *element); gboolean gst_element_is_locked_state (GstElement *element);