[emerillon] Use champlain_map_source_factory_create_cached_source()
- From: Łukasz Jernaś <ljernas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [emerillon] Use champlain_map_source_factory_create_cached_source()
- Date: Tue, 25 May 2010 14:55:59 +0000 (UTC)
commit 5a349748452d239f085338da41dda0afb646b587
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date: Tue May 25 16:53:19 2010 +0200
Use champlain_map_source_factory_create_cached_source()
In libchamplain 0.6 champlain_map_source_factory_create()
no longer provides a cached source by default, so it's necessary
to call champlain_map_source_factory_create_cached_source()
emerillon/window.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/emerillon/window.c b/emerillon/window.c
index 89f7b58..bb6c7a2 100644
--- a/emerillon/window.c
+++ b/emerillon/window.c
@@ -529,19 +529,19 @@ cmd_map_change_map (GtkRadioAction *action,
{
default:
case 0:
- source = champlain_map_source_factory_create (factory,
+ source = champlain_map_source_factory_create_cached_source (factory,
CHAMPLAIN_MAP_SOURCE_OSM_MAPNIK);
break;
case 1:
- source = champlain_map_source_factory_create (factory,
+ source = champlain_map_source_factory_create_cached_source (factory,
CHAMPLAIN_MAP_SOURCE_OSM_CYCLE_MAP);
break;
case 2:
- source = champlain_map_source_factory_create (factory,
+ source = champlain_map_source_factory_create_cached_source (factory,
CHAMPLAIN_MAP_SOURCE_OSM_TRANSPORT_MAP);
break;
case 3:
- source = champlain_map_source_factory_create (factory,
+ source = champlain_map_source_factory_create_cached_source (factory,
CHAMPLAIN_MAP_SOURCE_MFF_RELIEF);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]