Source.removeUnixFd

Reverses the effect of a previous call to g_source_add_unix_fd().

You only need to call this if you want to remove an fd from being watched while keeping the same source around. In the normal case you will just want to destroy the source.

This API is only intended to be used by implementations of #GSource. Do not call this API on a #GSource that you did not create.

As the name suggests, this function is not available on Windows.

class Source
void
removeUnixFd
(
void* tag
)

Parameters

tag void*

the tag from g_source_add_unix_fd()

Meta

Since

2.36