]> git.street.me.uk Git - andy/viking.git/commit - src/geonamessearch.c
[QA] Replace g_mapped_file_free
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Sun, 30 Dec 2012 14:01:30 +0000 (15:01 +0100)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Sun, 30 Dec 2012 14:01:30 +0000 (15:01 +0100)
commit316945d861def658bece21faa66b0050a11e9738
tree4be2fa3a8e6e8231e08f2b87fa07141603844ba8
parent3986744ba1895257f41b9bbec2148cf662579b80
[QA] Replace g_mapped_file_free

The function g_mapped_file_free is deprecated since g_mapped_file_unref
was introduced in GLib 2.22.
As Viking currently build with GLib 2.14, we add a #define to support
pre and post 2.22 versions and avoid warning in both cases.
src/dem.c
src/geonamessearch.c
src/googlesearch.c