From 49ba9ef056c4c279029aa028508b958cc092c83b Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Fri, 15 Jun 2012 14:50:48 -0700 Subject: [PATCH] toc setter: change GstTocSetterIFace to GstTocSetterInterface Without this GObject Introspection does not recognize the connection to GstTocSetter. --- gst/gsttocsetter.c | 2 +- gst/gsttocsetter.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gst/gsttocsetter.c b/gst/gsttocsetter.c index 85bbaa2a4e..dabc144344 100644 --- a/gst/gsttocsetter.c +++ b/gst/gsttocsetter.c @@ -69,7 +69,7 @@ gst_toc_setter_get_type (void) if (g_once_init_enter (&toc_setter_type)) { GType _type; static const GTypeInfo toc_setter_info = { - sizeof (GstTocSetterIFace), /* class_size */ + sizeof (GstTocSetterInterface), /* class_size */ NULL, /* base_init */ NULL, /* base_finalize */ NULL, diff --git a/gst/gsttocsetter.h b/gst/gsttocsetter.h index 2174e0d00f..d99a170f30 100644 --- a/gst/gsttocsetter.h +++ b/gst/gsttocsetter.h @@ -28,23 +28,23 @@ G_BEGIN_DECLS #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_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: * * Opaque #GstTocSetter data structure. */ typedef struct _GstTocSetter GstTocSetter; -typedef struct _GstTocSetterIFace GstTocSetterIFace; +typedef struct _GstTocSetterInterface GstTocSetterInterface; /** - * GstTocSetterIFace: + * GstTocSetterInterface: * @g_iface: parent interface type. * - * #GstTocSetterIFace interface. + * #GstTocSetterInterface interface. */ -struct _GstTocSetterIFace +struct _GstTocSetterInterface { GTypeInterface g_iface;