event: Use correct type for the message parameter in gst_event_{new,parse}_sink_message

The struct workaround was only necessary in gstevent.h, gstutils.h knows about GstMessage
This commit is contained in:
Sebastian Dröge 2010-03-31 10:24:11 +02:00
parent 5799aa28e3
commit 133792e5cd

View file

@ -1179,8 +1179,8 @@ gboolean gst_util_fraction_add (gint a_n, gint a_d, gint b_n, gint b_d, gint *re
* are unfortunately not possible. The implementation of
* these functions is in gstevent.c.
*/
GstEvent* gst_event_new_sink_message (struct _GstMessage *msg);
void gst_event_parse_sink_message (GstEvent *event, struct _GstMessage **msg);
GstEvent* gst_event_new_sink_message (GstMessage *msg);
void gst_event_parse_sink_message (GstEvent *event, GstMessage **msg);
G_END_DECLS