telepathy-gabble: roster: stop using group handles

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Thu Oct 10 11:50:13 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: e8ad526f823b9b1949fd36eb29d5b900e5091b91
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=e8ad526f823b9b1949fd36eb29d5b900e5091b91

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Oct  8 17:58:33 2013 -0400

roster: stop using group handles

Group handles will be removed in Telepathy 1.0 so we should stop using them to
as an implementation detail in roster.c

I did this by replacing TpHandleSet/TpIntset by GHashTable of (gchar *group)
used as a set. I re-implemented the logic of some tp_intset_* methods to keep
the existing logic of the code.

---

 src/roster.c |  481 ++++++++++++++++++++++++++++------------------------------
 1 files changed, 230 insertions(+), 251 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-gabble/diff/?id=e8ad526f823b9b1949fd36eb29d5b900e5091b91


More information about the telepathy-commits mailing list