From 02419d206cb3ac0760cca72b89869b593ad44fd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 4 Dec 2010 14:48:46 +0000 Subject: [PATCH] tests: use GLib 2.22 API unconditionally --- tests/examples/app/appsrc-ra.c | 5 ----- tests/examples/app/appsrc-seekable.c | 5 ----- tests/examples/app/appsrc-stream.c | 5 ----- tests/examples/app/appsrc-stream2.c | 5 ----- 4 files changed, 20 deletions(-) diff --git a/tests/examples/app/appsrc-ra.c b/tests/examples/app/appsrc-ra.c index cdca865..af5d7a7 100644 --- a/tests/examples/app/appsrc-ra.c +++ b/tests/examples/app/appsrc-ra.c @@ -30,11 +30,6 @@ #include #include -/* 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 diff --git a/tests/examples/app/appsrc-seekable.c b/tests/examples/app/appsrc-seekable.c index 8d873d9..9421f9b 100644 --- a/tests/examples/app/appsrc-seekable.c +++ b/tests/examples/app/appsrc-seekable.c @@ -30,11 +30,6 @@ #include #include -/* 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 diff --git a/tests/examples/app/appsrc-stream.c b/tests/examples/app/appsrc-stream.c index 986dfb8..d14e143 100644 --- a/tests/examples/app/appsrc-stream.c +++ b/tests/examples/app/appsrc-stream.c @@ -30,11 +30,6 @@ #include #include -/* 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 diff --git a/tests/examples/app/appsrc-stream2.c b/tests/examples/app/appsrc-stream2.c index 66a5332..a80e4d1 100644 --- a/tests/examples/app/appsrc-stream2.c +++ b/tests/examples/app/appsrc-stream2.c @@ -30,11 +30,6 @@ #include #include -/* 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 -- 2.7.4