mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
cairo: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
9ad65fa60b
commit
5bd3fcf726
1 changed files with 3 additions and 19 deletions
|
@ -28,19 +28,9 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_CAIRO_OVERLAY \
|
||||
(gst_cairo_overlay_get_type())
|
||||
#define GST_CAIRO_OVERLAY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CAIRO_OVERLAY,GstCairoOverlay))
|
||||
#define GST_CAIRO_OVERLAY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CAIRO_OVERLAY,GstCairoOverlayClass))
|
||||
#define GST_IS_CAIRO_OVERLAY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CAIRO_OVERLAY))
|
||||
#define GST_IS_CAIRO_OVERLAY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CAIRO_OVERLAY))
|
||||
|
||||
typedef struct _GstCairoOverlay GstCairoOverlay;
|
||||
typedef struct _GstCairoOverlayClass GstCairoOverlayClass;
|
||||
#define GST_TYPE_CAIRO_OVERLAY (gst_cairo_overlay_get_type())
|
||||
G_DECLARE_FINAL_TYPE (GstCairoOverlay, gst_cairo_overlay,
|
||||
GST, CAIRO_OVERLAY, GstBaseTransform)
|
||||
|
||||
struct _GstCairoOverlay {
|
||||
GstBaseTransform parent;
|
||||
|
@ -53,12 +43,6 @@ struct _GstCairoOverlay {
|
|||
gboolean attach_compo_to_buffer;
|
||||
};
|
||||
|
||||
struct _GstCairoOverlayClass {
|
||||
GstBaseTransformClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_cairo_overlay_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_CAIRO_OVERLAY_H__ */
|
||||
|
|
Loading…
Reference in a new issue