toc setter: change GstTocSetterIFace to GstTocSetterInterface

Without this GObject Introspection does not recognize the connection
to GstTocSetter.
This commit is contained in:
Evan Nemerson 2012-06-15 14:50:48 -07:00 committed by Wim Taymans
parent 95f016b795
commit 49ba9ef056
2 changed files with 6 additions and 6 deletions

View file

@ -69,7 +69,7 @@ gst_toc_setter_get_type (void)
if (g_once_init_enter (&toc_setter_type)) { if (g_once_init_enter (&toc_setter_type)) {
GType _type; GType _type;
static const GTypeInfo toc_setter_info = { static const GTypeInfo toc_setter_info = {
sizeof (GstTocSetterIFace), /* class_size */ sizeof (GstTocSetterInterface), /* class_size */
NULL, /* base_init */ NULL, /* base_init */
NULL, /* base_finalize */ NULL, /* base_finalize */
NULL, NULL,

View file

@ -28,23 +28,23 @@ G_BEGIN_DECLS
#define GST_TYPE_TOC_SETTER (gst_toc_setter_get_type ()) #define GST_TYPE_TOC_SETTER (gst_toc_setter_get_type ())
#define GST_TOC_SETTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TOC_SETTER, GstTocSetter)) #define GST_TOC_SETTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TOC_SETTER, GstTocSetter))
#define GST_IS_TOC_SETTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TOC_SETTER)) #define GST_IS_TOC_SETTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TOC_SETTER))
#define GST_TOC_SETTER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TOC_SETTER, GstTocSetterIFace)) #define GST_TOC_SETTER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TOC_SETTER, GstTocSetterInterface))
/** /**
* GstTocSetter: * GstTocSetter:
* *
* Opaque #GstTocSetter data structure. * Opaque #GstTocSetter data structure.
*/ */
typedef struct _GstTocSetter GstTocSetter; typedef struct _GstTocSetter GstTocSetter;
typedef struct _GstTocSetterIFace GstTocSetterIFace; typedef struct _GstTocSetterInterface GstTocSetterInterface;
/** /**
* GstTocSetterIFace: * GstTocSetterInterface:
* @g_iface: parent interface type. * @g_iface: parent interface type.
* *
* #GstTocSetterIFace interface. * #GstTocSetterInterface interface.
*/ */
struct _GstTocSetterIFace struct _GstTocSetterInterface
{ {
GTypeInterface g_iface; GTypeInterface g_iface;