AsyncResultIF.legacyPropagateError

If res is a gio.SimpleAsyncResult, this is equivalent to SimpleAsyncResult.propagateError. Otherwise it returns FALSE.

This can be used for legacy error handling in async *_finish() wrapper functions that traditionally handled gio.SimpleAsyncResult error returns themselves rather than calling into the virtual method. This should not be used in new code; GAsyncResult errors that are set by virtual methods should also be extracted by virtual methods, to enable subclasses to chain up correctly.

interface AsyncResultIF
bool
legacyPropagateError
()

Return Value

Type: bool

TRUE if error is has been filled in with an error from res, FALSE if not.

Throws

GException on failure.

Meta

Since

2.34