From 133792e5cd31a044f4c7d19625b504d8b2980dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 31 Mar 2010 10:24:11 +0200 Subject: [PATCH] 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 --- gst/gstutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstutils.h b/gst/gstutils.h index 74aab3a12f..8a9ebb7c75 100644 --- a/gst/gstutils.h +++ b/gst/gstutils.h @@ -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