StreamGIO.setOwner

void setOwner(bool owner)

Sets whether or not stream owns the backend GIO pointer.

Note

owner should be true if the stream should close() the

backend file descriptor when destroyed or false otherwise.

Parameters

ownertrue if this stream should own the #GFile or false otherwise