[Telepathy-commits] [telepathy-glib/master] _new_containing is a better name than _new_singleton

Will Thompson will.thompson at collabora.co.uk
Wed Feb 4 05:11:28 PST 2009


---
 docs/reference/telepathy-glib-sections.txt |    2 +-
 telepathy-glib/intset.c                    |    4 ++--
 telepathy-glib/intset.h                    |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/reference/telepathy-glib-sections.txt b/docs/reference/telepathy-glib-sections.txt
index 09cbbb5..8646d90 100644
--- a/docs/reference/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib-sections.txt
@@ -1389,7 +1389,7 @@ TpIntSet
 TpIntFunc
 tp_intset_sized_new
 tp_intset_new
-tp_intset_new_singleton
+tp_intset_new_containing
 tp_intset_destroy
 tp_intset_clear
 tp_intset_add
diff --git a/telepathy-glib/intset.c b/telepathy-glib/intset.c
index b1612af..dc89573 100644
--- a/telepathy-glib/intset.c
+++ b/telepathy-glib/intset.c
@@ -94,7 +94,7 @@ tp_intset_new ()
 }
 
 /**
- * tp_intset_new_singleton:
+ * tp_intset_new_containing:
  * @element: integer to add to a new set
  *
  * Allocate a new integer set containing the given integer.
@@ -105,7 +105,7 @@ tp_intset_new ()
  * @since 0.7.UNRELEASED
  */
 TpIntSet *
-tp_intset_new_singleton (guint element)
+tp_intset_new_containing (guint element)
 {
   TpIntSet *ret = tp_intset_sized_new (element + 1);
 
diff --git a/telepathy-glib/intset.h b/telepathy-glib/intset.h
index 7d867b7..92183f9 100644
--- a/telepathy-glib/intset.h
+++ b/telepathy-glib/intset.h
@@ -45,7 +45,7 @@ typedef void (*TpIntFunc) (guint i, gpointer userdata);
 
 TpIntSet *tp_intset_new (void);
 TpIntSet *tp_intset_sized_new (guint size);
-TpIntSet *tp_intset_new_singleton (guint element);
+TpIntSet *tp_intset_new_containing (guint element);
 void tp_intset_destroy (TpIntSet *set);
 void tp_intset_clear (TpIntSet *set);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list