libs: There is no G_TYPE_CHECK_INTERFACE_TYPE and G_TYPE_CHECK_INTERFACE_CAST
authorSebastian Dröge <sebastian@centricular.com>
Thu, 26 Jun 2014 14:18:05 +0000 (16:18 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 26 Jun 2014 14:18:46 +0000 (16:18 +0200)
Remove the macros that used them, nobody could've used them anyway.

gst-libs/gst/audio/streamvolume.h
gst-libs/gst/tag/xmpwriter.h

index 74cde1e..c8d16e9 100644 (file)
@@ -28,12 +28,8 @@ G_BEGIN_DECLS
   (gst_stream_volume_get_type ())
 #define GST_STREAM_VOLUME(obj) \
   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_STREAM_VOLUME, GstStreamVolume))
-#define GST_STREAM_VOLUME_INTERFACE(iface) \
-  (G_TYPE_CHECK_INTERFACE_CAST ((iface), GST_TYPE_STREAM_VOLUME, GstStreamVolumeInterface))
 #define GST_IS_STREAM_VOLUME(obj) \
   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_STREAM_VOLUME))
-#define GST_IS_STREAM_VOLUME_INTERFACE(iface) \
-  (G_TYPE_CHECK_INTERFACE_TYPE ((iface), GST_TYPE_STREAM_VOLUME))
 #define GST_STREAM_VOLUME_GET_INTERFACE(inst) \
   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_STREAM_VOLUME, GstStreamVolumeInterface))
 
index 838a6bd..5c9be49 100644 (file)
@@ -28,12 +28,8 @@ G_BEGIN_DECLS
   (gst_tag_xmp_writer_get_type ())
 #define GST_TAG_XMP_WRITER(obj) \
   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TAG_XMP_WRITER, GstTagXmpWriter))
-#define GST_TAG_XMP_WRITER_INTERFACE(iface) \
-  (G_TYPE_CHECK_INTERFACE_CAST ((iface), GST_TYPE_TAG_XMP_WRITER, GstTagXmpWriterInterface))
 #define GST_IS_TAG_XMP_WRITER(obj) \
   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TAG_XMP_WRITER))
-#define GST_IS_TAG_XMP_WRITER_INTERFACE(iface) \
-  (G_TYPE_CHECK_INTERFACE_TYPE ((iface), GST_TYPE_TAG_XMP_WRITER))
 #define GST_TAG_XMP_WRITER_GET_INTERFACE(inst) \
   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_TAG_XMP_WRITER, GstTagXmpWriterInterface))