commit c77a4b233e2905e4a99348064c8d89aacc9f895c Author: Jonathan Neuschäfer <j.neuschae...@gmx.net> Date: Thu Sep 27 20:15:03 2012 +0200
replace deprecated g_mapped_file_free() g_mapped_file_free is deprecated since GLib 2.22 src/db-parse-context.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/src/db-parse-context.c b/src/db-parse-context.c index 88009c9..789b3e9 100644 --- a/src/db-parse-context.c +++ b/src/db-parse-context.c @@ -64,7 +64,7 @@ db_parse_context_destroy (DBParseContext *ctx) g_return_if_fail (ctx != NULL); if (ctx->mapped_file) { - g_mapped_file_free(ctx->mapped_file); + g_mapped_file_unref(ctx->mapped_file); } g_free (ctx); @@ -215,7 +215,7 @@ db_parse_context_new_from_file (const char *filename, Itdb_DB *db) device->byte_order); if (ctx == NULL) { - g_mapped_file_free(mapped_file); + g_mapped_file_unref(mapped_file); return NULL; } ctx->db = db; ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2