tests: use GLib 2.22 API unconditionally
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 4 Dec 2010 14:48:46 +0000 (14:48 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 4 Dec 2010 14:48:46 +0000 (14:48 +0000)
tests/examples/app/appsrc-ra.c
tests/examples/app/appsrc-seekable.c
tests/examples/app/appsrc-stream.c
tests/examples/app/appsrc-stream2.c

index cdca865..af5d7a7 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-/* FIXME: remove once we depend on GLib >= 2.22 */
-#if !GLIB_CHECK_VERSION (2, 21, 3)
-#define g_mapped_file_unref g_mapped_file_free
-#endif
-
 GST_DEBUG_CATEGORY (appsrc_playbin_debug);
 #define GST_CAT_DEFAULT appsrc_playbin_debug
 
index 8d873d9..9421f9b 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-/* FIXME: remove once we depend on GLib >= 2.22 */
-#if !GLIB_CHECK_VERSION (2, 21, 3)
-#define g_mapped_file_unref g_mapped_file_free
-#endif
-
 GST_DEBUG_CATEGORY (appsrc_playbin_debug);
 #define GST_CAT_DEFAULT appsrc_playbin_debug
 
index 986dfb8..d14e143 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-/* FIXME: remove once we depend on GLib >= 2.22 */
-#if !GLIB_CHECK_VERSION (2, 21, 3)
-#define g_mapped_file_unref g_mapped_file_free
-#endif
-
 GST_DEBUG_CATEGORY (appsrc_playbin_debug);
 #define GST_CAT_DEFAULT appsrc_playbin_debug
 
index 66a5332..a80e4d1 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-/* FIXME: remove once we depend on GLib >= 2.22 */
-#if !GLIB_CHECK_VERSION (2, 21, 3)
-#define g_mapped_file_unref g_mapped_file_free
-#endif
-
 GST_DEBUG_CATEGORY (appsrc_playbin_debug);
 #define GST_CAT_DEFAULT appsrc_playbin_debug