gstreamer/gstreamer-sharp/glue/dynamicsignal.c
Sebastian Dröge 7b0efa7033 Add support for emitting GObject signals dynamically
This will be needed later to call the action signals of
playbin2 for example.

Also get the correct instance size of GClosure at runtime
instead of always taking the largest known one.
2009-04-07 09:12:31 +02:00

13 lines
205 B
C

#include <glib-object.h>
gint
gstsharp_g_closure_sizeof (void)
{
return sizeof (GClosure);
}
GType
gstsharp_g_type_from_instance (GTypeInstance *instance)
{
return G_TYPE_FROM_INSTANCE (instance);
}