registry: g_mapped_file_unref exists already since GLib 2.21.3

This commit is contained in:
Vincent Penquerc'h 2010-10-09 14:18:44 +01:00 committed by Sebastian Dröge
parent 14023fff89
commit 0bb4fafd30

View file

@ -611,7 +611,7 @@ Error:
g_timer_destroy (timer); g_timer_destroy (timer);
#endif #endif
if (mapped) { if (mapped) {
#if GLIB_CHECK_VERSION(2,22,0) #if GLIB_CHECK_VERSION(2,21,3)
g_mapped_file_unref (mapped); g_mapped_file_unref (mapped);
#else #else
g_mapped_file_free (mapped); g_mapped_file_free (mapped);