[Bug 33213] Rename _get_events() to get_entities()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 20 14:29:35 CET 2011


--- Comment #4 from Emilio Pozuelo Monfort <pochu27 at gmail.com> 2011-01-20 05:29:35 PST ---
(In reply to comment #2)
> > -GList * _tpl_log_manager_get_events (TplLogManager *manager,
> > +GList * _tpl_log_manager_get_entities (TplLogManager *manager,
> > 
> > OK, that's fine as that's what that function is doing anyway. We may want to
> > write a tpl_log_manager_get_events() function that actually returns a list of
> > TplEvents (that would be needed for my new Empathy viewer proposal for
> > example).
> Adding functions is not an issue for ABI.

I know

> Note that getting all events for an
> account is a bad idea. If they want to do like the N900 we will implement a two
> way iterator or something similar. Do you have a draft for this proposal ?

See https://bugzilla.gnome.org/show_bug.cgi?id=619866

Why is it a bad idea? It may be too much? If so it would be fine to just get
the last N events, with a possibility to get more and more in subsequent
queries. Also having everything in sqlite would make this less resource-hungry.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the telepathy-bugs mailing list