Gio::AsyncResult is badly documented, and possibly broken
Submitted by Mardy
Link to original bug (#796209)
Description
I'm trying to use Gio::AsyncResult to implement an asynchronous function. However, there are no examples for it at all, and even Google searches don't return any useful results other than the reference documentation.
I've tried to subclass it, but then my program starts spitting a lot of
GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
messages. It looks like deriving this class does not produce a valid object which can be used with Glib::PtrRef.
Any hints welcome :-)