gst-libs/gst/interfaces/: Change the way these deprecated function pointers are remov...
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 30 Jan 2008 12:19:02 +0000 (12:19 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Wed, 30 Jan 2008 12:19:02 +0000 (12:19 +0000)
Original commit message from CVS:
* gst-libs/gst/interfaces/mixeroptions.h:
* gst-libs/gst/interfaces/mixertrack.h:
Change the way these deprecated function pointers are removed
so that the compiled ABI is unconditionally smaller. This
sets in stone an ABI break that actually occurred when the
things were deprecated in 0.10.14, which seems to be the best
fix as the only known users are oss-mixer and sunaudio-mixer in
gst-plugins-good.

ChangeLog
gst-libs/gst/interfaces/mixeroptions.h
gst-libs/gst/interfaces/mixertrack.h

index 59ec5062547638626c8b2113fbcc208ef3612419..8093adf8b92e56e2f1b023989615d2ff37c2e645 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * gst-libs/gst/interfaces/mixeroptions.h:
+       * gst-libs/gst/interfaces/mixertrack.h:
+       Change the way these deprecated function pointers are removed
+       so that the compiled ABI is unconditionally smaller. This 
+       sets in stone an ABI break that actually occurred when the
+       things were deprecated in 0.10.14, which seems to be the best
+       fix as the only known users are oss-mixer and sunaudio-mixer in 
+       gst-plugins-good.
+
 2008-01-30  Tim-Philipp Müller  <tim at centricular dot net>
 
        * win32/common/libgstpbutils.def:
index e59a7e54e669b3e1de2b4b402c4613a850f3e101..832c5bc52f6655cbf0e56b41445c47c6bd722aa0 100644 (file)
@@ -57,11 +57,11 @@ struct _GstMixerOptions {
 struct _GstMixerOptionsClass {
   GstMixerTrackClass parent;
 
-#ifndef GST_DISABLE_DEPRECATED
+#ifdef GST_MIXER_NEED_DEPRECATED
   /* signals */
   void (* option_changed) (GstMixerOptions *opts,
                            gchar           *value);
-#endif /* not GST_DISABLE_DEPRECATED */
+#endif /* GST_MIXER_NEED_DEPRECATED */
 
   gpointer _gst_reserved[GST_PADDING];
 };
index 655e8d028d65d05d84469dba14b7cbcae45616cb..dad838ca27262ab185ce08efbf581002782255c7 100644 (file)
@@ -88,7 +88,7 @@ struct _GstMixerTrack {
 struct _GstMixerTrackClass {
   GObjectClass parent;
 
-#ifndef GST_DISABLE_DEPRECATED
+#ifdef GST_MIXER_NEED_DEPRECATED
   /* signals (deprecated) */
   void (* mute_toggled)   (GstMixerTrack *channel,
                            gboolean       mute);
@@ -96,7 +96,7 @@ struct _GstMixerTrackClass {
                            gboolean       record);
   void (* volume_changed) (GstMixerTrack *channel,
                            gint          *volumes);
-#endif /* not GST_DISABLE_DEPRECATED */
+#endif /* GST_MIXER_NEED_DEPRECATED */
 
   gpointer _gst_reserved[GST_PADDING];
 };