id3tag: Unconditionally use GLib 2.16 API
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 30 Aug 2009 20:13:26 +0000 (22:13 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 31 Aug 2009 06:14:10 +0000 (08:14 +0200)
gst/id3tag/id3tag.c

index dd7bb04..43c7635 100644 (file)
@@ -103,9 +103,7 @@ gst_byte_writer_copy_bytes (GstByteWriter * w, guint8 * dest, guint offset,
   if (size == -1)
     size = length - offset;
 
-#if GLIB_CHECK_VERSION(2,16,0)
   g_warn_if_fail (length >= (offset + size));
-#endif
 
   memcpy (dest, w->str + offset, MIN (size, length - offset));
 }