diff options
author | Jiří Techet <techet@gmail.com> | 2010-07-31 20:46:33 +0200 |
---|---|---|
committer | Jiří Techet <techet@gmail.com> | 2010-07-31 20:46:33 +0200 |
commit | 537d540c1d85e03d933aa06871b8c128b128ecbc (patch) | |
tree | 603729c0346afeb28a089df346d6b491f3ddf700 /champlain/champlain-file-tile-source.c | |
parent | 5dad0e02a1abfdd419d6183fcf25dadc03e863b4 (diff) | |
download | libchamplain-537d540c1d85e03d933aa06871b8c128b128ecbc.tar.gz |
Add null tile source and error tile renderer
Replace the error tile source with a null tile source
(a tile source with no data input) and error tile renderer
(always renders error tile, no mater what is on the input)
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 a678f36..191ddc4 100644 --- a/champlain/champlain-file-tile-source.c +++ b/champlain/champlain-file-tile-source.c @@ -138,7 +138,7 @@ tile_rendered_cb (ChamplainTile *tile, if (!data->error) { - if (tile_cache) + if (tile_cache && data->data) champlain_tile_cache_store_tile (tile_cache, tile, data->data, data->size); champlain_tile_set_fade_in (tile, TRUE); |