Hi, 

trying to write some PackageKit code I came across the issue to get
results from an async call like:

pk_task.get_updates_async (filter,
                           null,
                           on_progress,
                           on_ready
                          );

and the respective callback:

private void on_ready () {
    PackageKit.Results? result = null;
    result = pk_task.generic_finish (???);                              
}

However, the generic_finish method requires an AsyncResult which should
be passed to the callback but I have not found a way to get access to
it? Any suggestions?


Thanks



-- 
tomw <[email protected]>

_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to