mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
Don't use GstInterface
Original commit message from CVS: Don't use GstInterface
This commit is contained in:
parent
c488665ef7
commit
288210149e
4 changed files with 4 additions and 8 deletions
|
@ -48,8 +48,6 @@ gst_navigation_get_type (void)
|
||||||
gst_navigation_type = g_type_register_static (G_TYPE_INTERFACE,
|
gst_navigation_type = g_type_register_static (G_TYPE_INTERFACE,
|
||||||
"GstNavigation",
|
"GstNavigation",
|
||||||
&gst_navigation_info, 0);
|
&gst_navigation_info, 0);
|
||||||
g_type_interface_add_prerequisite (gst_navigation_type,
|
|
||||||
GST_TYPE_INTERFACE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return gst_navigation_type;
|
return gst_navigation_type;
|
||||||
|
|
|
@ -30,11 +30,11 @@ G_BEGIN_DECLS
|
||||||
#define GST_TYPE_NAVIGATION \
|
#define GST_TYPE_NAVIGATION \
|
||||||
(gst_navigation_get_type ())
|
(gst_navigation_get_type ())
|
||||||
#define GST_NAVIGATION(obj) \
|
#define GST_NAVIGATION(obj) \
|
||||||
(GST_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
|
(G_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
|
||||||
#define GST_NAVIGATION_CLASS(klass) \
|
#define GST_NAVIGATION_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NAVIGATION, GstNavigationClass))
|
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NAVIGATION, GstNavigationClass))
|
||||||
#define GST_IS_NAVIGATION(obj) \
|
#define GST_IS_NAVIGATION(obj) \
|
||||||
(GST_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
|
(G_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
|
||||||
#define GST_IS_NAVIGATION_CLASS(klass) \
|
#define GST_IS_NAVIGATION_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NAVIGATION))
|
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NAVIGATION))
|
||||||
#define GST_NAVIGATION_GET_CLASS(inst) \
|
#define GST_NAVIGATION_GET_CLASS(inst) \
|
||||||
|
|
|
@ -48,8 +48,6 @@ gst_navigation_get_type (void)
|
||||||
gst_navigation_type = g_type_register_static (G_TYPE_INTERFACE,
|
gst_navigation_type = g_type_register_static (G_TYPE_INTERFACE,
|
||||||
"GstNavigation",
|
"GstNavigation",
|
||||||
&gst_navigation_info, 0);
|
&gst_navigation_info, 0);
|
||||||
g_type_interface_add_prerequisite (gst_navigation_type,
|
|
||||||
GST_TYPE_INTERFACE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return gst_navigation_type;
|
return gst_navigation_type;
|
||||||
|
|
|
@ -30,11 +30,11 @@ G_BEGIN_DECLS
|
||||||
#define GST_TYPE_NAVIGATION \
|
#define GST_TYPE_NAVIGATION \
|
||||||
(gst_navigation_get_type ())
|
(gst_navigation_get_type ())
|
||||||
#define GST_NAVIGATION(obj) \
|
#define GST_NAVIGATION(obj) \
|
||||||
(GST_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
|
(G_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
|
||||||
#define GST_NAVIGATION_CLASS(klass) \
|
#define GST_NAVIGATION_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NAVIGATION, GstNavigationClass))
|
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NAVIGATION, GstNavigationClass))
|
||||||
#define GST_IS_NAVIGATION(obj) \
|
#define GST_IS_NAVIGATION(obj) \
|
||||||
(GST_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
|
(G_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
|
||||||
#define GST_IS_NAVIGATION_CLASS(klass) \
|
#define GST_IS_NAVIGATION_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NAVIGATION))
|
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NAVIGATION))
|
||||||
#define GST_NAVIGATION_GET_CLASS(inst) \
|
#define GST_NAVIGATION_GET_CLASS(inst) \
|
||||||
|
|
Loading…
Reference in a new issue