]> err.no Git - libchamplain/commitdiff
get_list is now champlain_map_source_factory_dup_list
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Fri, 12 Jun 2009 02:13:33 +0000 (22:13 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Fri, 12 Jun 2009 02:13:33 +0000 (22:13 -0400)
As the list is duplicated

champlain/champlain-map-source-factory.c
champlain/champlain-map-source-factory.h
demos/launcher-gtk.c
docs/reference/libchamplain-sections.txt

index 6c583835f4345500afce30b79bc3e565b3ca0185..ce10ec4bb3faa19ff0979d40cf7fdaa23c072b26 100644 (file)
@@ -28,7 +28,7 @@
  * will return a ready to use #ChamplainMapSource.
  *
  * To get the list of registered map sources, use
- * #champlain_map_source_factory_get_list.
+ * #champlain_map_source_factory_dup_list.
  *
  */
 #include "config.h"
@@ -254,7 +254,7 @@ champlain_map_source_factory_dup_default (void)
 }
 
 /**
- * champlain_map_source_factory_get_list:
+ * champlain_map_source_factory_dup_list:
  *
  * Returns the list of registered map sources, the items should not be freed,
  * the list should be freed with #g_slist_free.
@@ -262,7 +262,7 @@ champlain_map_source_factory_dup_default (void)
  * Since: 0.4
  */
 GSList *
-champlain_map_source_factory_get_list (ChamplainMapSourceFactory *factory)
+champlain_map_source_factory_dup_list (ChamplainMapSourceFactory *factory)
 {
   return g_slist_copy (factory->priv->registered_sources);
 }
index c2c441e4f38dc7424fe1579e74ffcf31f11b85b8..ff2546c6c4839467a2d7c2db1e7c7e950425744f 100644 (file)
@@ -57,7 +57,7 @@ GType champlain_map_source_factory_get_type (void);
 
 ChamplainMapSourceFactory * champlain_map_source_factory_dup_default (void);
 
-GSList * champlain_map_source_factory_get_list (ChamplainMapSourceFactory *factory);
+GSList * champlain_map_source_factory_dup_list (ChamplainMapSourceFactory *factory);
 
 ChamplainMapSource * champlain_map_source_factory_create (ChamplainMapSourceFactory *factory,
     const gchar *id);
index 420b9b12f417401a6878da37b05c11ad50ae3789..b0cc5917515a671102f3daf97db2c2432ffdc2f6 100644 (file)
@@ -150,7 +150,7 @@ build_combo_box (GtkComboBox *box)
       -1);
 
   factory = champlain_map_source_factory_dup_default ();
-  sources = champlain_map_source_factory_get_list (factory);
+  sources = champlain_map_source_factory_dup_list (factory);
 
   iter = sources;
   while (iter != NULL)
index 85507a7674e8cadbacc3e5aa46cb5cab4d0b3210..0feeae7c7e7626d0e4cb994faf305edd1105db99 100644 (file)
@@ -364,7 +364,7 @@ ChamplainMapSourceFactory
 ChamplainMapSourceDesc
 ChamplainMapSourceConstructor
 champlain_map_source_factory_dup_default
-champlain_map_source_factory_get_list
+champlain_map_source_factory_dup_list
 champlain_map_source_factory_create
 champlain_map_source_factory_register
 <SUBSECTION Standard>