Ensure that the marshaller code #includes glib-object.h, and hence the neccessary definitions to enable it to compile.

Original commit message from CVS:
Ensure that the marshaller code #includes glib-object.h, and hence the
neccessary definitions to enable it to compile.

I don't pretend to understand how the marshalling stuff works - I just
know that it clearly needs this #include, or something similar.  If there's
a more correct fix, someone else can do it.  Possibly this is a
glib-genmarshal bug, but I've not got the time to go into that.
This commit is contained in:
Richard Boulton 2001-06-29 09:39:58 +00:00
parent 5ffe5a0901
commit b3e700e0f8

View file

@ -130,11 +130,13 @@ cothreads.o: $(srcdir)/cothreads.c $(srcdir)/cothreads.h $(srcdir)/gst_private.h
# Generate both marshal files together. Makes dependency work easier.
gstmarshal.h: gstmarshal.list
glib-genmarshal --header --prefix=gst gstmarshal.list > gstmarshal.h
glib-genmarshal --body --prefix=gst gstmarshal.list > gstmarshal.c
echo "#include \"glib-object.h\"" >gstmarshal.c
glib-genmarshal --body --prefix=gst gstmarshal.list >> gstmarshal.c
gstmarshal.c: gstmarshal.list
glib-genmarshal --header --prefix=gst gstmarshal.list > gstmarshal.h
glib-genmarshal --body --prefix=gst gstmarshal.list > gstmarshal.c
echo "#include \"glib-object.h\"" >gstmarshal.c
glib-genmarshal --body --prefix=gst gstmarshal.list >> gstmarshal.c
##### end built sources #####