summaryrefslogtreecommitdiff
path: root/gst/gstpluginfeature.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-10-30 21:21:59 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-10-30 21:47:26 +0000
commit19b4c9c793ef3b56f49e1911be16818d24c0f2f0 (patch)
tree8bf0d562889cbcb5a5d07a6ee4a149ad5b6bddf6 /gst/gstpluginfeature.h
parent606c53fc94a62e46443a8115adf0387d19972c6b (diff)
pluginfeature: deprecate gst_plugin_feature_type_name_filter()
It's only used internally anyway and the helper struct has namespace issues. API: deprecated gst_plugin_feature_type_name_filter() API: deprecated GstTypeNameData
Diffstat (limited to 'gst/gstpluginfeature.h')
-rw-r--r--gst/gstpluginfeature.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/gstpluginfeature.h b/gst/gstpluginfeature.h
index 11641a4c2..835d49b29 100644
--- a/gst/gstpluginfeature.h
+++ b/gst/gstpluginfeature.h
@@ -105,10 +105,12 @@ struct _GstPluginFeatureClass {
*
* Structure used for filtering based on @name and @type.
*/
+#ifndef GST_DISABLE_DEPRECATED
typedef struct {
const gchar *name;
GType type;
} GstTypeNameData;
+#endif
/**
* GstPluginFeatureFilter:
@@ -130,8 +132,10 @@ GType gst_plugin_feature_get_type (void);
GstPluginFeature *
gst_plugin_feature_load (GstPluginFeature *feature);
+#ifndef GST_DISABLE_DEPRECATED
gboolean gst_plugin_feature_type_name_filter (GstPluginFeature *feature,
GstTypeNameData *data);
+#endif
void gst_plugin_feature_set_rank (GstPluginFeature *feature, guint rank);
void gst_plugin_feature_set_name (GstPluginFeature *feature, const gchar *name);