Utility method for GPollableInputStream and GPollableOutputStream implementations. Creates a new GSource, as with g_pollable_source_new(), but also attaching child_source (with a dummy callback), and cancellable, if they are non-NULL. Since 2.34
the stream associated with the new source. [type GObject]
optional child source to attach. [allow-none]
optional GCancellable to attach. [allow-none]
the new GSource. [transfer full]
See Implementation
Utility method for GPollableInputStream and GPollableOutputStream implementations. Creates a new GSource, as with g_pollable_source_new(), but also attaching child_source (with a dummy callback), and cancellable, if they are non-NULL. Since 2.34