diff options
Diffstat (limited to 'gst-libs/gst/navigation')
-rw-r--r-- | gst-libs/gst/navigation/navigation.c | 8 | ||||
-rw-r--r-- | gst-libs/gst/navigation/navigation.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gst-libs/gst/navigation/navigation.c b/gst-libs/gst/navigation/navigation.c index 6599c7cd..3462348d 100644 --- a/gst-libs/gst/navigation/navigation.c +++ b/gst-libs/gst/navigation/navigation.c @@ -25,7 +25,7 @@ #include <gst/navigation/navigation.h> -static void gst_navigation_class_init (GstNavigationIface *iface); +static void gst_navigation_class_init (GstNavigationInterface *iface); GType gst_navigation_get_type (void) @@ -34,7 +34,7 @@ gst_navigation_get_type (void) if (!gst_navigation_type) { static const GTypeInfo gst_navigation_info = { - sizeof (GstNavigationIface), + sizeof (GstNavigationInterface), (GBaseInitFunc) gst_navigation_class_init, NULL, NULL, @@ -54,7 +54,7 @@ gst_navigation_get_type (void) } static void -gst_navigation_class_init (GstNavigationIface *iface) +gst_navigation_class_init (GstNavigationInterface *iface) { /* default virtual functions */ iface->send_event = NULL; @@ -63,7 +63,7 @@ gst_navigation_class_init (GstNavigationIface *iface) void gst_navigation_send_event (GstNavigation *navigation, GstCaps *caps) { - GstNavigationIface *iface = GST_NAVIGATION_GET_IFACE (navigation); + GstNavigationInterface *iface = GST_NAVIGATION_GET_IFACE (navigation); if (iface->send_event) { iface->send_event (navigation, caps); diff --git a/gst-libs/gst/navigation/navigation.h b/gst-libs/gst/navigation/navigation.h index 32eeaa32..5ce3a5c7 100644 --- a/gst-libs/gst/navigation/navigation.h +++ b/gst-libs/gst/navigation/navigation.h @@ -34,18 +34,18 @@ G_BEGIN_DECLS #define GST_IS_NAVIGATION(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION)) #define GST_NAVIGATION_GET_IFACE(obj) \ - (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationIface)) + (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface)) typedef struct _GstNavigation GstNavigation; -typedef struct _GstNavigationIface { +typedef struct _GstNavigationInterface { GTypeInterface g_iface; /* virtual functions */ void (*send_event) (GstNavigation *navigation, GstCaps *caps); GST_CLASS_PADDING -} GstNavigationIface; +} GstNavigationInterface; GType gst_navigation_get_type (void); |