From 50a6f26684305ac9dd78cfe01a64be92cb27237b Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sat, 9 Oct 2010 14:17:57 +0100 Subject: [PATCH] examples: g_mapped_file_unref exists already since GLib 2.21.3 --- tests/examples/app/appsrc-ra.c | 2 +- tests/examples/app/appsrc-seekable.c | 2 +- tests/examples/app/appsrc-stream.c | 2 +- tests/examples/app/appsrc-stream2.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/examples/app/appsrc-ra.c b/tests/examples/app/appsrc-ra.c index 46b19ca..cdca865 100644 --- a/tests/examples/app/appsrc-ra.c +++ b/tests/examples/app/appsrc-ra.c @@ -31,7 +31,7 @@ #include /* FIXME: remove once we depend on GLib >= 2.22 */ -#if !GLIB_CHECK_VERSION (2, 22, 0) +#if !GLIB_CHECK_VERSION (2, 21, 3) #define g_mapped_file_unref g_mapped_file_free #endif diff --git a/tests/examples/app/appsrc-seekable.c b/tests/examples/app/appsrc-seekable.c index adff5bb..8d873d9 100644 --- a/tests/examples/app/appsrc-seekable.c +++ b/tests/examples/app/appsrc-seekable.c @@ -31,7 +31,7 @@ #include /* FIXME: remove once we depend on GLib >= 2.22 */ -#if !GLIB_CHECK_VERSION (2, 22, 0) +#if !GLIB_CHECK_VERSION (2, 21, 3) #define g_mapped_file_unref g_mapped_file_free #endif diff --git a/tests/examples/app/appsrc-stream.c b/tests/examples/app/appsrc-stream.c index ea3286f..986dfb8 100644 --- a/tests/examples/app/appsrc-stream.c +++ b/tests/examples/app/appsrc-stream.c @@ -31,7 +31,7 @@ #include /* FIXME: remove once we depend on GLib >= 2.22 */ -#if !GLIB_CHECK_VERSION (2, 22, 0) +#if !GLIB_CHECK_VERSION (2, 21, 3) #define g_mapped_file_unref g_mapped_file_free #endif diff --git a/tests/examples/app/appsrc-stream2.c b/tests/examples/app/appsrc-stream2.c index e0c8922..66a5332 100644 --- a/tests/examples/app/appsrc-stream2.c +++ b/tests/examples/app/appsrc-stream2.c @@ -31,7 +31,7 @@ #include /* FIXME: remove once we depend on GLib >= 2.22 */ -#if !GLIB_CHECK_VERSION (2, 22, 0) +#if !GLIB_CHECK_VERSION (2, 21, 3) #define g_mapped_file_unref g_mapped_file_free #endif -- 2.7.4