[libchamplain] Remove champlain_map_data_source_new



commit c5640eabec336586acf2889186778e422988e00a
Author: Simon Wenner <simon wenner ch>
Date:   Mon Aug 10 21:26:55 2009 +0200

    Remove champlain_map_data_source_new
    
    An instance of this class is not useful for anybody. It provides only an interface.

 champlain/champlain-map-data-source.c |    7 -------
 champlain/champlain-map-data-source.h |    2 --
 2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/champlain/champlain-map-data-source.c b/champlain/champlain-map-data-source.c
index 7b22797..a980873 100644
--- a/champlain/champlain-map-data-source.c
+++ b/champlain/champlain-map-data-source.c
@@ -188,13 +188,6 @@ champlain_map_data_source_init (ChamplainMapDataSource *self)
   priv->state = CHAMPLAIN_STATE_INIT;
 }
 
-// TODO: should this class be instantiable?
-ChamplainMapDataSource *
-champlain_map_data_source_new (void)
-{
-  return g_object_new (CHAMPLAIN_TYPE_MAP_DATA_SOURCE, NULL);
-}
-
 /**
  * champlain_map_data_source_get_map_data:
  * @data_source: a #ChamplainMapDataSource
diff --git a/champlain/champlain-map-data-source.h b/champlain/champlain-map-data-source.h
index 9be58b2..12fd67b 100644
--- a/champlain/champlain-map-data-source.h
+++ b/champlain/champlain-map-data-source.h
@@ -52,8 +52,6 @@ typedef struct {
 
 GType champlain_map_data_source_get_type (void);
 
-ChamplainMapDataSource * champlain_map_data_source_new (void);
-
 MemphisMap * champlain_map_data_source_get_map_data (ChamplainMapDataSource *data_source);
 
 G_END_DECLS



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]