Re: [Evolution-hackers] New 'eclient' branch in eds



On Thu, 2011-04-21 at 08:34 -0400, Matthew Barnes wrote:
> On Thu, 2011-04-21 at 08:41 +0200, Milan Crha wrote: 
> > void e_client_open_new (ESource *source, gboolean (* auth_cb) (EClient
> > *client, ECredentials *credentials, gpointer user_data), gpointer
> > user_data);
> > 
> > gboolean e_client_open_new_finish (GAsyncResult *result, EClient
> > **client, GError **error);
> 
> I'd would rather ECredentials be an object that gets passed to the "new"
> function.

It's technically not passed in this function, it's a callback
signature. :) It would be used as a signal handler for "auth-required"
signal in the function, as I think of it right now.
	Milan



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