registry: g_mapped_file_unref exists already since GLib 2.21.3
authorVincent Penquerc'h <ogg.k.ogg.k@googlemail.com>
Sat, 9 Oct 2010 13:18:44 +0000 (14:18 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 10 Oct 2010 16:30:58 +0000 (18:30 +0200)
gst/gstregistrybinary.c

index eb277c5..690d6c4 100644 (file)
@@ -611,7 +611,7 @@ Error:
   g_timer_destroy (timer);
 #endif
   if (mapped) {
-#if GLIB_CHECK_VERSION(2,22,0)
+#if GLIB_CHECK_VERSION(2,21,3)
     g_mapped_file_unref (mapped);
 #else
     g_mapped_file_free (mapped);