summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/gstutils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/gstutils.h b/gst/gstutils.h
index fad4ff56b..14d0f8a8b 100644
--- a/gst/gstutils.h
+++ b/gst/gstutils.h
@@ -123,8 +123,7 @@ static void type_as_function ## _init (type *object, \
type ## Class *g_class);\
static parent_type ## Class *parent_class = NULL; \
static void \
-type_as_function ## _class_init_trampoline (gpointer g_class, \
- gpointer data) \
+type_as_function ## _class_init_trampoline (gpointer g_class) \
{ \
parent_class = (parent_type ## Class *) \
g_type_class_peek_parent (g_class); \
@@ -145,7 +144,7 @@ type_as_function ## _get_type (void) \
sizeof (type ## Class), \
type_as_function ## _base_init, \
NULL, /* base_finalize */ \
- type_as_function ## _class_init_trampoline, \
+ (GClassInitFunc) type_as_function ## _class_init_trampoline, \
NULL, /* class_finalize */ \
NULL, /* class_data */ \
sizeof (type), \