[libchamplain/libchamplain-0-12: 128/134] factory: Remove the Osmarender from the factory
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-12: 128/134] factory: Remove the Osmarender from the factory
- Date: Thu, 16 May 2013 17:56:16 +0000 (UTC)
commit 5721b406df4bf176694f0d9d30793ee8c5853443
Author: Jiří Techet <techet gmail com>
Date: Thu May 16 17:21:55 2013 +0200
factory: Remove the Osmarender from the factory
Osmarender doesn't exist any more and will be removed completely in the
future version of libchamplain.
champlain/champlain-map-source-factory.c | 3 +++
champlain/champlain-map-source-factory.h | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-map-source-factory.c b/champlain/champlain-map-source-factory.c
index 891b7bd..f288d2f 100644
--- a/champlain/champlain-map-source-factory.c
+++ b/champlain/champlain-map-source-factory.c
@@ -161,6 +161,8 @@ champlain_map_source_factory_init (ChamplainMapSourceFactory *factory)
NULL);
champlain_map_source_factory_register (factory, desc);
+/* Not available any more - remove completely in the next release */
+#if 0
desc = champlain_map_source_desc_new_full (
CHAMPLAIN_MAP_SOURCE_OSM_OSMARENDER,
"OpenStreetMap Osmarender",
@@ -174,6 +176,7 @@ champlain_map_source_factory_init (ChamplainMapSourceFactory *factory)
champlain_map_source_new_generic,
NULL);
champlain_map_source_factory_register (factory, desc);
+#endif
desc = champlain_map_source_desc_new_full (
CHAMPLAIN_MAP_SOURCE_OSM_MAPQUEST,
diff --git a/champlain/champlain-map-source-factory.h b/champlain/champlain-map-source-factory.h
index ec4a98a..95e6766 100644
--- a/champlain/champlain-map-source-factory.h
+++ b/champlain/champlain-map-source-factory.h
@@ -100,6 +100,10 @@ GSList *champlain_map_source_factory_get_registered (ChamplainMapSourceFactory *
* CHAMPLAIN_MAP_SOURCE_OSM_OSMARENDER:
*
* OpenStreetMap Osmarender
+ *
+ * Deprecated: Osmarender isn't available any more and will be removed in the next release.
+ * As it doens't exist, it isn't registered to the factory and the 'create' method won't
+ * return any source.
*/
#define CHAMPLAIN_MAP_SOURCE_OSM_OSMARENDER "osm-osmarender"
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]