diff options
author | Jiří Techet <techet@gmail.com> | 2010-08-01 13:41:14 +0200 |
---|---|---|
committer | Jiří Techet <techet@gmail.com> | 2010-08-01 13:41:14 +0200 |
commit | 2841c81b38554bebfc8056f76db37a1c5e82cb00 (patch) | |
tree | 3c461bcca3748f2bff1e8dda0ecfddf2bf606386 /champlain/champlain-file-tile-source.c | |
parent | 537d540c1d85e03d933aa06871b8c128b128ecbc (diff) | |
download | libchamplain-2841c81b38554bebfc8056f76db37a1c5e82cb00.tar.gz |
Introduce new memory cache and remove non-persistent file cache
The new memory cache can store specified number of tiles in
memory without storing them to the disk. It replaces
the temporary file cache - it was a bit scary to recursively
delete some directories and libchamplain shouldn't do things
like that.
Signed-off-by: Jiří Techet <techet@gmail.com>
Diffstat (limited to 'champlain/champlain-file-tile-source.c')
-rw-r--r-- | champlain/champlain-file-tile-source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/champlain/champlain-file-tile-source.c b/champlain/champlain-file-tile-source.c index 191ddc4..aba3f5c 100644 --- a/champlain/champlain-file-tile-source.c +++ b/champlain/champlain-file-tile-source.c @@ -149,7 +149,7 @@ tile_rendered_cb (ChamplainTile *tile, champlain_map_source_fill_tile (next_source, tile); g_object_unref (map_source); - g_signal_handlers_disconnect_by_func (tile, tile_rendered_cb, data); + g_signal_handlers_disconnect_by_func (tile, tile_rendered_cb, map_source); } static void |