[libchamplain] Remove some outdated doc strings and unused code
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Remove some outdated doc strings and unused code
- Date: Sun, 1 Aug 2010 23:16:49 +0000 (UTC)
commit 64f747da7232025c2f48695e7c77fc467ec33536
Author: JiÅ?Ã Techet <techet gmail com>
Date: Sun Aug 1 18:22:17 2010 +0200
Remove some outdated doc strings and unused code
Signed-off-by: JiÅ?Ã Techet <techet gmail com>
champlain/champlain-map-source-factory.c | 33 -----------------------------
champlain/champlain-memory-cache.c | 1 -
champlain/champlain-memphis-renderer.c | 2 +-
champlain/champlain-memphis-renderer.h | 2 -
champlain/champlain-network-tile-source.c | 2 +-
champlain/champlain-null-tile-source.c | 9 --------
6 files changed, 2 insertions(+), 47 deletions(-)
---
diff --git a/champlain/champlain-map-source-factory.c b/champlain/champlain-map-source-factory.c
index bfc1343..047d881 100644
--- a/champlain/champlain-map-source-factory.c
+++ b/champlain/champlain-map-source-factory.c
@@ -90,37 +90,6 @@ static ChamplainMapSource * champlain_map_source_new_memphis (
ChamplainMapSourceDesc *desc, gpointer user_data);
#endif
-static void
-champlain_map_source_factory_get_property (GObject *object,
- guint prop_id,
- G_GNUC_UNUSED GValue *value,
- GParamSpec *pspec)
-{
- //ChamplainMapSourceFactory *map_source_factory = CHAMPLAIN_MAP_SOURCE_FACTORY(object);
- //ChamplainMapSourceFactoryPrivate *priv = map_source_factory->priv;
-
- switch (prop_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
- }
-}
-
-static void
-champlain_map_source_factory_set_property (GObject *object,
- guint prop_id,
- G_GNUC_UNUSED const GValue *value,
- GParamSpec *pspec)
-{
- //ChamplainMapSourceFactory *map_source_factory = CHAMPLAIN_MAP_SOURCE_FACTORY(object);
- //ChamplainMapSourceFactoryPrivate *priv = map_source_factory->priv;
-
- switch (prop_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
- }
-}
static void
champlain_map_source_factory_finalize (GObject *object)
@@ -164,8 +133,6 @@ champlain_map_source_factory_class_init (ChamplainMapSourceFactoryClass *klass)
object_class->constructor = champlain_map_source_factory_constructor;
object_class->finalize = champlain_map_source_factory_finalize;
- object_class->get_property = champlain_map_source_factory_get_property;
- object_class->set_property = champlain_map_source_factory_set_property;
}
static
diff --git a/champlain/champlain-memory-cache.c b/champlain/champlain-memory-cache.c
index 342ad9d..be7ee6d 100644
--- a/champlain/champlain-memory-cache.c
+++ b/champlain/champlain-memory-cache.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#define DEBUG_FLAG CHAMPLAIN_DEBUG_CACHE
#include "champlain-debug.h"
diff --git a/champlain/champlain-memphis-renderer.c b/champlain/champlain-memphis-renderer.c
index 8a3a33e..d7dce19 100644
--- a/champlain/champlain-memphis-renderer.c
+++ b/champlain/champlain-memphis-renderer.c
@@ -456,7 +456,7 @@ set_data (ChamplainRenderer *renderer,
"reload-tiles", NULL);
}
-/**
+/*
* champlain_memphis_renderer_load_rules:
* @renderer: a #ChamplainMemphisRenderer
* @rules_path: a path to a rules file
diff --git a/champlain/champlain-memphis-renderer.h b/champlain/champlain-memphis-renderer.h
index c79a8fa..59c8c90 100644
--- a/champlain/champlain-memphis-renderer.h
+++ b/champlain/champlain-memphis-renderer.h
@@ -26,8 +26,6 @@
#include <champlain/champlain-tile-source.h>
#include <champlain/champlain-bounding-box.h>
-// remove me
-//#include <memphis/memphis.h>
#include <glib-object.h>
diff --git a/champlain/champlain-network-tile-source.c b/champlain/champlain-network-tile-source.c
index c901b12..0916933 100644
--- a/champlain/champlain-network-tile-source.c
+++ b/champlain/champlain-network-tile-source.c
@@ -271,7 +271,7 @@ champlain_network_tile_source_init (ChamplainNetworkTileSource *tile_source)
}
-/**
+/*
* champlain_network_tile_source_new_full:
* @id: the map source's id
* @name: the map source's name
diff --git a/champlain/champlain-null-tile-source.c b/champlain/champlain-null-tile-source.c
index dd8d96a..6e1ee4b 100644
--- a/champlain/champlain-null-tile-source.c
+++ b/champlain/champlain-null-tile-source.c
@@ -63,15 +63,6 @@ champlain_null_tile_source_init (ChamplainNullTileSource *self)
}
-/*
- * champlain_null_tile_source_new:
- *
- * Creates a new instance of #ChamplainNullTileSource.
- *
- * Returns: a new #ChamplainNullTileSource.
- *
- * Since: 0.8
- */
ChamplainNullTileSource *
champlain_null_tile_source_new_full (ChamplainRenderer *renderer)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]