diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-25 18:11:30 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-25 18:25:40 +0200 |
commit | e0467b0100079ad657ef5af164af22954ef24ed5 (patch) | |
tree | 9a5429b1935786a6b6de1ff5c26789fdc5f99858 /libs | |
parent | 83f618570726fcbb108d6772ec58c2bcaaa5552b (diff) |
controller: Fix build with GST_REMOVE_DEPRECATED
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gst/controller/gstcontroller.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/gst/controller/gstcontroller.c b/libs/gst/controller/gstcontroller.c index 325b6e2d0..407bc8069 100644 --- a/libs/gst/controller/gstcontroller.c +++ b/libs/gst/controller/gstcontroller.c @@ -97,7 +97,7 @@ struct _GstControllerPrivate }; /* helper */ - +#ifndef GST_REMOVE_DEPRECATED static void gst_controlled_property_add_interpolation_control_source (GstControlledProperty * self) @@ -111,6 +111,7 @@ gst_controlled_property_add_interpolation_control_source (GstControlledProperty gst_control_source_bind (GST_CONTROL_SOURCE (csource), self->pspec); self->csource = csource; } +#endif /* * gst_controlled_property_new: @@ -987,6 +988,7 @@ gst_controller_get_type (void) * * Returns: %TRUE for success */ +#ifndef GST_REMOVE_DEPRECATED static gboolean gst_controlled_property_set_interpolation_mode (GstControlledProperty * self, GstInterpolateMode mode) @@ -1005,6 +1007,7 @@ gst_controlled_property_set_interpolation_mode (GstControlledProperty * self, return gst_interpolation_control_source_set_interpolation_mode (icsource, mode); } +#endif /** * gst_controller_set: @@ -1170,7 +1173,8 @@ out: */ #ifndef GST_REMOVE_DEPRECATED #ifdef GST_DISABLE_DEPRECATED -gboolean gst_controller_unset_all (GstController * self, const gchar * property_name); +gboolean gst_controller_unset_all (GstController * self, + const gchar * property_name); #endif gboolean gst_controller_unset_all (GstController * self, const gchar * property_name) |