[webkit-gtk] WebKit2 GTK+ API

Carlos Garcia Campos cgarcia at igalia.com
Thu Sep 15 12:13:04 PDT 2011


El Thu, 15 Sep 2011 11:24:48 -0700
Martin Robinson <mrobinson at webkit.org> escribió:
> On Thu, Sep 15, 2011 at 11:11 AM, Carlos Garcia Campos
> <cgarcia at igalia.com> wrote:
> 
> > what about leaving progress callback as part of web view and still
> > use the gio async pattern to have a single point to finish the
> > operation and the cancellable? We have status-load and progress
> > properties, for example, but not load-error signal and we handle
> > errors in the async ready callback.
> 
> I like the idea of having the GCancellable argument, but what's the
> benefit of allowing the embedder to call webkit_web_view_load_finish
> manually?

load_uri_finish() returns the result of the async operation using the
GAsyncResult passed to the async ready callback, see:

http://developer.gnome.org/gio/stable/GAsyncResult.html#GAsyncResult.description

> --Martin
> 


Regards, 
-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20110915/a2711f19/attachment.bin>


More information about the webkit-gtk mailing list