Re: [Evolution-hackers] Rewrite e_load_book_source_async()



On Tue, 2010-08-17 at 10:30 -0400, Matthew Barnes wrote:
> Proposed API uses GIO's async pattern:
> 
>    void
>    e_load_book_source_async (ESource *source,
>                              GtkWindow *parent,
>                              GCancellable *cancellable,
>                              GAsyncReadyCallback callback,
>                              gpointer user_data);
> 
>    EBook *
>    e_load_book_source_finish (ESource *source,
>                               GAsyncResult *result,
>                               GError **error);


This is in master now and seems to be working quite well.  So well, in
fact, that I may write something similar for calendars.

It also allowed for some nice code cleanups.  For example, I was able to
completely remove the book loading thread in ENameSelector, which seemed
to have recently started misbehaving.  I've seen quite a few crash
reports stemming from that thread in the past week.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]