WebKit2.FaviconDatabase.prototype.get_favicon_finish

function get_favicon_finish(result: Gio.AsyncResult): cairo.Surface {
    // Gjs wrapper for webkit_favicon_database_get_favicon_finish()
}
  

Finishes an operation started with WebKit2.FaviconDatabase.prototype.get_favicon.

result

A Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to WebKit2.FaviconDatabase.prototype.get_favicon

Returns

a new reference to a #cairo_surface_t, or null in case of error.