[libchamplain] local-rendering-demo: Delete tiles in the cache if a new data source is loaded
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain] local-rendering-demo: Delete tiles in the cache if a new data source is loaded
- Date: Sun, 24 Jan 2010 20:09:35 +0000 (UTC)
commit 25fd736bb748aceaea285126c5c30f4b84ab7abe
Author: Simon Wenner <simon wenner ch>
Date: Mon Jul 13 01:11:33 2009 +0200
local-rendering-demo: Delete tiles in the cache if a new data source is loaded
demos/local-rendering.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/local-rendering.c b/demos/local-rendering.c
index cb51e87..3eb0063 100644
--- a/demos/local-rendering.c
+++ b/demos/local-rendering.c
@@ -92,6 +92,7 @@ request_osm_data_cb (GtkWidget *widget, ChamplainView *view)
CHAMPLAIN_MEMPHIS_MAP_SOURCE(source));
champlain_network_map_data_source_load_map_data (data_source,
lon - 0.008, lat - 0.008, lon + 0.008, lat + 0.008);
+ champlain_memphis_map_source_delete_session_cache (CHAMPLAIN_MEMPHIS_MAP_SOURCE(source));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]