[Telepathy-commits] [telepathy-gabble/master] tp_intset_sized_new does not do what I thought it did.

Will Thompson will.thompson at collabora.co.uk
Sun Feb 1 09:29:42 PST 2009


I was confusing it with g_array_sized_new and friends.
---
 src/muc-channel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/muc-channel.c b/src/muc-channel.c
index 770c6f1..8336e59 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -1407,8 +1407,8 @@ handle_nick_conflict (GabbleMucChannel *chan,
   self_handle = tp_handle_ensure (contact_repo, priv->self_jid->str,
       GUINT_TO_POINTER (GABBLE_JID_ROOM_MEMBER), NULL);
 
-  add_rp = tp_intset_sized_new (1);
-  remove_rp = tp_intset_sized_new (1);
+  add_rp = tp_intset_new ();
+  remove_rp = tp_intset_new ();
   tp_intset_add (add_rp, self_handle);
   tp_intset_add (remove_rp, mixin->self_handle);
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list