summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-10-16 17:36:07 -0700
committerBenjamin Otte <otte@redhat.com>2011-10-16 22:32:55 -0700
commit5cfd57ca9e56b60aa821529062629c285d9d00b8 (patch)
treeba099906ee8096dea304efc2e6636cb9c1cd0ae9
parente3baa650e3828bfdc4f62141782f4c59093b51b1 (diff)
game: Replace deprecated function with undeprecated one
-rw-r--r--libgame/game-game.c2
1 files changed, 1 insertions, 1 deletions
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");