[libchamplain] get_list is now champlain_map_source_factory_dup_list
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [libchamplain] get_list is now champlain_map_source_factory_dup_list
- Date: Fri, 12 Jun 2009 00:58:48 -0400 (EDT)
commit d37cf4bb9cec1c284e081e463355fad88c255b42
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date: Thu Jun 11 22:13:33 2009 -0400
get_list is now champlain_map_source_factory_dup_list
As the list is duplicated
champlain/champlain-map-source-factory.c | 6 +++---
champlain/champlain-map-source-factory.h | 2 +-
demos/launcher-gtk.c | 2 +-
docs/reference/libchamplain-sections.txt | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/champlain/champlain-map-source-factory.c b/champlain/champlain-map-source-factory.c
index 6c58383..ce10ec4 100644
--- a/champlain/champlain-map-source-factory.c
+++ b/champlain/champlain-map-source-factory.c
@@ -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);
}
diff --git a/champlain/champlain-map-source-factory.h b/champlain/champlain-map-source-factory.h
index c2c441e..ff2546c 100644
--- a/champlain/champlain-map-source-factory.h
+++ b/champlain/champlain-map-source-factory.h
@@ -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);
diff --git a/demos/launcher-gtk.c b/demos/launcher-gtk.c
index 420b9b1..b0cc591 100644
--- a/demos/launcher-gtk.c
+++ b/demos/launcher-gtk.c
@@ -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)
diff --git a/docs/reference/libchamplain-sections.txt b/docs/reference/libchamplain-sections.txt
index 85507a7..0feeae7 100644
--- a/docs/reference/libchamplain-sections.txt
+++ b/docs/reference/libchamplain-sections.txt
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]