From 5cfd57ca9e56b60aa821529062629c285d9d00b8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 16 Oct 2011 17:36:07 -0700 Subject: game: Replace deprecated function with undeprecated one --- libgame/game-game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgame/game-game.c b/libgame/game-game.c index f534822..74be247 100644 --- a/libgame/game-game.c +++ b/libgame/game-game.c @@ -349,7 +349,7 @@ game_game_set_match (GameGame *game, GameMatch *match) g_rand_set_seed (game->rand, game->seed); g_assert (game->resources == NULL); game->resources = g_hash_table_new_full (g_str_hash, g_str_equal, - g_free, (GDestroyNotify) g_mapped_file_free); + g_free, (GDestroyNotify) g_mapped_file_unref); game->match = match; g_object_set (game->players, "container", match, NULL); REPLAY_DEBUG_PRINT (game, "<<< EMIT START-GAME >>>\n"); -- cgit v1.2.3