summaryrefslogtreecommitdiffstats
path: root/ext/wavpack
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-04-04 19:00:19 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-04-04 19:00:19 +0000
commit5a7677ab241118c5049683f4678cbc3a2c7d32ed (patch)
tree106f1e6096bcfe480abfecfbc084f16091dbeda1 /ext/wavpack
parent777476da0596b0f17237be09777d3ebd70dfd5b0 (diff)
ext/wavpack/gstwavpackparse.c: Always use GSlice as we actually depend on GLib 2.12 already.
Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_index_entry_free): Always use GSlice as we actually depend on GLib 2.12 already.
Diffstat (limited to 'ext/wavpack')
-rw-r--r--ext/wavpack/gstwavpackparse.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c
index 4fd00b9b..50e31a70 100644
--- a/ext/wavpack/gstwavpackparse.c
+++ b/ext/wavpack/gstwavpackparse.c
@@ -57,8 +57,6 @@
GST_DEBUG_CATEGORY_STATIC (gst_wavpack_parse_debug);
#define GST_CAT_DEFAULT gst_wavpack_parse_debug
-/* FIXME: unconditionally use GSlice after we depend on GLib >= 2.10 */
-#if GLIB_CHECK_VERSION (2, 10, 0)
static inline GstWavpackParseIndexEntry *
gst_wavpack_parse_index_entry_new ()
{
@@ -70,19 +68,6 @@ gst_wavpack_parse_index_entry_free (GstWavpackParseIndexEntry * entry)
{
g_slice_free (GstWavpackParseIndexEntry, entry);
}
-#else
-static inline GstWavpackParseIndexEntry *
-gst_wavpack_parse_index_entry_new ()
-{
- return g_new (GstWavpackParseIndexEntry, 1);
-}
-
-static inline void
-gst_wavpack_parse_index_entry_free (GstWavpackParseIndexEntry * entry)
-{
- g_free (entry);
-}
-#endif
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,